summaryrefslogtreecommitdiff
path: root/core/minute-ia/task.c
diff options
context:
space:
mode:
authorHyungwoo Yang <hyungwoo.yang@intel.com>2019-01-29 17:09:05 -0800
committerchrome-bot <chrome-bot@chromium.org>2019-01-31 14:06:22 -0800
commitbbb6461b154364e2f5acabe3506a358db32d50e8 (patch)
tree944e83a647985a9f25d3369acc5ad7cc98e21214 /core/minute-ia/task.c
parenta180facf4128a02e6fe614ba988c551593ce0611 (diff)
downloadchrome-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/minute-ia/task.c')
-rw-r--r--core/minute-ia/task.c1
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);
}