summaryrefslogtreecommitdiff
path: root/kernel/cpu/idle.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/cpu/idle.c')
-rw-r--r--kernel/cpu/idle.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/kernel/cpu/idle.c b/kernel/cpu/idle.c
index 54c320383934..168cf407a254 100644
--- a/kernel/cpu/idle.c
+++ b/kernel/cpu/idle.c
@@ -10,13 +10,6 @@
#include <trace/events/power.h>
-#ifndef CONFIG_GENERIC_IDLE_LOOP
-void cpu_startup_entry(enum cpuhp_state state)
-{
- cpu_idle();
-}
-#else
-
static int __read_mostly cpu_idle_force_poll;
void cpu_idle_poll_ctrl(bool enable)
@@ -112,4 +105,3 @@ void cpu_startup_entry(enum cpuhp_state state)
arch_cpu_idle_prepare();
cpu_idle_loop();
}
-#endif