[tip: smp/core] cpu/hotplug: Remove unused function declaration cpu_set_state_online()

From: tip-bot2 for Yue Haibing
Date: Mon Aug 07 2023 - 12:32:37 EST


The following commit has been merged into the smp/core branch of tip:

Commit-ID: 33af38d85b5c9e8ffe26f9712319ed28c5ded64f
Gitweb: https://git.kernel.org/tip/33af38d85b5c9e8ffe26f9712319ed28c5ded64f
Author: Yue Haibing <yuehaibing@xxxxxxxxxx>
AuthorDate: Sat, 05 Aug 2023 19:04:06 +08:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitterDate: Mon, 07 Aug 2023 18:22:42 +02:00

cpu/hotplug: Remove unused function declaration cpu_set_state_online()

Commit 5356297d12d9 ("cpu/hotplug: Remove cpu_report_state() and related unused cruft")
removed function but leave the declaration.

Signed-off-by: Yue Haibing <yuehaibing@xxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Link: https://lore.kernel.org/r/20230805110406.45900-1-yuehaibing@xxxxxxxxxx

---
include/linux/cpu.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/include/linux/cpu.h b/include/linux/cpu.h
index 6b326a9..ed56b25 100644
--- a/include/linux/cpu.h
+++ b/include/linux/cpu.h
@@ -191,7 +191,6 @@ void arch_cpu_finalize_init(void);
static inline void arch_cpu_finalize_init(void) { }
#endif

-void cpu_set_state_online(int cpu);
void play_idle_precise(u64 duration_ns, u64 latency_ns);

static inline void play_idle(unsigned long duration_us)