Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

cpu: remove needless return in void API suspend_enable_secondary_cpus()

Remove needless 'return' in void API suspend_enable_secondary_cpus() since
both the API and thaw_secondary_cpus() are void functions.

Link: https://lkml.kernel.org/r/20250221-rmv_return-v1-2-cc8dff275827@quicinc.com
Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Zijun Hu and committed by
Andrew Morton
ede7cd60 75850291

+1 -1
+1 -1
include/linux/cpu.h
··· 148 148 } 149 149 static inline void suspend_enable_secondary_cpus(void) 150 150 { 151 - return thaw_secondary_cpus(); 151 + thaw_secondary_cpus(); 152 152 } 153 153 154 154 #else /* !CONFIG_PM_SLEEP_SMP */