diff options
| author | Zijun Hu <quic_zijuhu@quicinc.com> | 2025-02-21 05:02:07 -0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-03-16 23:24:15 -0700 |
| commit | ede7cd607a1d206b9579264a7405d78316b2d7fd (patch) | |
| tree | aeb5958ecc389466c14287df3506d5d7a83396b4 /include/linux/cpu.h | |
| parent | 758502918e77323bf999a3eddd71466bf6135173 (diff) | |
| download | linux-ede7cd607a1d206b9579264a7405d78316b2d7fd.tar.gz linux-ede7cd607a1d206b9579264a7405d78316b2d7fd.zip | |
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>
Diffstat (limited to 'include/linux/cpu.h')
| -rw-r--r-- | include/linux/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/cpu.h b/include/linux/cpu.h index 6a0a8f1c7c90..e3049543008b 100644 --- a/include/linux/cpu.h +++ b/include/linux/cpu.h @@ -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 */ |
