mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-22 07:27:12 +08:00
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>
This commit is contained in:
@@ -148,7 +148,7 @@ static inline int suspend_disable_secondary_cpus(void)
|
||||
}
|
||||
static inline void suspend_enable_secondary_cpus(void)
|
||||
{
|
||||
return thaw_secondary_cpus();
|
||||
thaw_secondary_cpus();
|
||||
}
|
||||
|
||||
#else /* !CONFIG_PM_SLEEP_SMP */
|
||||
|
||||
Reference in New Issue
Block a user