ARM: Remove redundant arch_cpu_idle_prepare()
PATCH 1/1 ARM: Remove redundant arch_cpu_idle_prepare()
arch_cpu_idle_prepare() was only called by cpu_startup_entry() and it is just a wrapper for local_fiq_enable().
The local_fiq_enable() was already called before cpu_startup_entry().
So remove redundant arch_cpu_idle_prepare().
Signed-off-by Yajun Deng <[email protected]>
--- arch/arm/kernel/process.c | 5 ----- 1 file changed, 5 deletions(-)
arch/arm/kernel/process.c +0 -5
@@ -81,11 +81,6 @@ void arch_cpu_idle(void)raw_local_irq_enable (); } -void arch_cpu_idle_prepare (void ) -{ -local_fiq_enable (); -} -void arch_cpu_idle_enter (void ) {ledtrig_cpu (CPU_LED_IDLE_START );
Signature · 1 line
2.25.1
Quoted 30 lines · Yajun Deng
arch_cpu_idle_prepare()was only called bycpu_startup_entry()and it is just a wrapper forlocal_fiq_enable().The
local_fiq_enable()was already called beforecpu_startup_entry().So remove redundant
arch_cpu_idle_prepare().Signed-off-by Yajun Deng <[email protected]>---
arch/arm/kernel/process.c| 5 -----1 file changed, 5 deletions(-)arch/arm/kernel/process.c +0
-5@@ -81,11 +81,6 @@ void arch_cpu_idle(void)raw_local_irq_enable (); } -void arch_cpu_idle_prepare (void ) -{ -local_fiq_enable (); -} -void arch_cpu_idle_enter (void ) {ledtrig_cpu (CPU_LED_IDLE_START );Signature · 1 line
2.25.1
Ping.