diff options
author | Rob Barnes <robbarnes@google.com> | 2023-03-14 09:25:55 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-05-01 21:29:43 +0000 |
commit | cd2369479ace4cac8080688cb9d9d58220e1e57d (patch) | |
tree | 5769eaece1457ed984dac04003150041da95110f | |
parent | 25552fc436672e17b90aab9127fbedc6046353fd (diff) | |
download | chrome-ec-cd2369479ace4cac8080688cb9d9d58220e1e57d.tar.gz |
system_safe_mode: Remove ifdef around IDLE task
Legacy CrOS EC does not define HAS_TASK_IDLE. Idle task is always
present in CrOS EC and Zephyr EC, so just remove the ifdef conditional.
BUG=None
BRANCH=None
TEST=Safe mode runs on a Boten
Change-Id: I0e65a1f984c5ee1000e23904fa8311750872e000
Signed-off-by: Rob Barnes <robbarnes@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4334212
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4482721
-rw-r--r-- | common/system_safe_mode.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/common/system_safe_mode.c b/common/system_safe_mode.c index dc9fde76fc..22d6e4f0e7 100644 --- a/common/system_safe_mode.c +++ b/common/system_safe_mode.c @@ -32,9 +32,7 @@ bool is_task_safe_mode_critical(task_id_t task_id) #ifdef HAS_TASK_HOOKS TASK_ID_HOOKS, #endif -#ifdef HAS_TASK_IDLE TASK_ID_IDLE, -#endif #ifdef HAS_TASK_HOSTCMD TASK_ID_HOSTCMD, #endif |