summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeng Lee <379943137@qq.com>2025-07-21 16:04:35 +0800
committerThomas Gleixner <tglx@linutronix.de>2025-07-22 11:10:43 +0200
commit1b5f1454091e9e9fb5c944b3161acf4ec0894d0d (patch)
treead48b378e03ba959fef1565a21ea0187da61e9aa
parent8671bad873ebeb082afcf7b4501395c374da6023 (diff)
sched/idle: Remove play_idle()
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
-rw-r--r--include/linux/cpu.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/cpu.h b/include/linux/cpu.h
index 6378370a952f..8b1abbf5b6d2 100644
--- a/include/linux/cpu.h
+++ b/include/linux/cpu.h
@@ -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