]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
sched/idle: Remove play_idle()
authorFeng Lee <379943137@qq.com>
Mon, 21 Jul 2025 08:04:35 +0000 (16:04 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 22 Jul 2025 09:10:43 +0000 (11:10 +0200)
play_idle() is no longer in use, so delete it.

Signed-off-by: Feng Lee <379943137@qq.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/tencent_C3E0BD9B812C27A30FC49F1EA6A4B1352707@qq.com
include/linux/cpu.h

index 6378370a952f656562ed7daf6e95cb4d3d226b65..8b1abbf5b6d2febe6be82914915a57d195fb182b 100644 (file)
@@ -187,11 +187,6 @@ static inline void arch_cpu_finalize_init(void) { }
 
 void play_idle_precise(u64 duration_ns, u64 latency_ns);
 
-static inline void play_idle(unsigned long duration_us)
-{
-       play_idle_precise(duration_us * NSEC_PER_USEC, U64_MAX);
-}
-
 #ifdef CONFIG_HOTPLUG_CPU
 void cpuhp_report_idle_dead(void);
 #else