]> git.ipfire.org Git - thirdparty/linux.git/commit
riscv: remove redundant #ifdef check in cpu-hotplug
authorHui Wang <hui.wang@canonical.com>
Sun, 5 Apr 2026 00:42:41 +0000 (18:42 -0600)
committerPaul Walmsley <pjw@kernel.org>
Sun, 5 Apr 2026 00:42:41 +0000 (18:42 -0600)
commite8c98b3f810d8f880dba2a682e63c53810d2eae3
tree76ea43eeb524e2cc36cf2d691fdb1484975e3d24
parent22a9c228afb609bb7413eb5d26e6a672c939aa59
riscv: remove redundant #ifdef check in cpu-hotplug

The cpu-hotplug.c only is built when CONFIG_HOTPLUG_CPU is defined,
it is not needed to check HOTPLUG_CPU in this file.

Signed-off-by: Hui Wang <hui.wang@canonical.com>
Link: https://patch.msgid.link/20260304033403.238012-2-hui.wang@canonical.com
[pjw@kernel.org: removed extra whitespace at EOF]
Signed-off-by: Paul Walmsley <pjw@kernel.org>
arch/riscv/kernel/cpu-hotplug.c