diff options
author | Hyungwoo Yang <hyungwoo.yang@intel.com> | 2019-01-29 17:09:05 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-01-31 14:06:22 -0800 |
commit | bbb6461b154364e2f5acabe3506a358db32d50e8 (patch) | |
tree | 944e83a647985a9f25d3369acc5ad7cc98e21214 /core | |
parent | a180facf4128a02e6fe614ba988c551593ce0611 (diff) | |
download | chrome-ec-bbb6461b154364e2f5acabe3506a358db32d50e8.tar.gz |
ish: remove unnecessary interrupt_enable() call
interrupt is already enabled when the first task(hook_task) scheduled.
this patch removes unnecessary interrupt_enable().
BRANCH=none
BUG=none
TEST=verified in Atlas platform
Change-Id: I4b1458a6ad2d72347720630181ef7e35bc7fc66b
Reviewed-on: https://chromium-review.googlesource.com/1444538
Commit-Ready: Hyungwoo Yang <hyungwoo.yang@intel.com>
Tested-by: Hyungwoo Yang <hyungwoo.yang@intel.com>
Reviewed-by: Hyungwoo Yang <hyungwoo.yang@intel.com>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'core')
-rw-r--r-- | core/minute-ia/task.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/minute-ia/task.c b/core/minute-ia/task.c index 1ef4cb0ada..7132813ac2 100644 --- a/core/minute-ia/task.c +++ b/core/minute-ia/task.c @@ -389,7 +389,6 @@ void task_enable_all_tasks(void) /* BUG: task_start() was likely already called */ start_called = 1; - interrupt_enable(); /* Reschedule the highest priority task. */ __schedule(0, 0); } |