mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] idle: remove useless code
@ 2025-07-21  8:04 Feng Lee
  2025-07-22  9:20 ` [tip: sched/core] sched/idle: Remove play_idle() tip-bot2 for Feng Lee
  0 siblings, 1 reply; 2+ messages in thread
From: Feng Lee @ 2025-07-21  8:04 UTC (permalink / raw)
  To: tglx, peterz; +Cc: linux-kernel, trivial, Feng Lee

play_idle is no longer in use, so delete it

Signed-off-by: Feng Lee <379943137@qq.com>
---
 include/linux/cpu.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/include/linux/cpu.h b/include/linux/cpu.h
index 1fb143ee1ffa..b91b993f58ee 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
-- 
2.50.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-07-22  9:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-21  8:04 [PATCH] idle: remove useless code Feng Lee
2025-07-22  9:20 ` [tip: sched/core] sched/idle: Remove play_idle() tip-bot2 for Feng Lee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®