[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tencent_C3E0BD9B812C27A30FC49F1EA6A4B1352707@qq.com>
Date: Mon, 21 Jul 2025 16:04:35 +0800
From: Feng Lee <379943137@...com>
To: tglx@...utronix.de,
peterz@...radead.org
Cc: linux-kernel@...r.kernel.org,
trivial@...nel.org,
Feng Lee <379943137@...com>
Subject: [PATCH] idle: remove useless code
play_idle is no longer in use, so delete it
Signed-off-by: Feng Lee <379943137@...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
Powered by blists - more mailing lists