From: "tip-bot2 for Feng Lee" <tip-bot2@linutronix.de>
To: linux-tip-commits@vger.kernel.org
Cc: Feng Lee <379943137@qq.com>, Thomas Gleixner <tglx@linutronix.de>,
x86@kernel.org, linux-kernel@vger.kernel.org
Subject: [tip: sched/core] sched/idle: Remove play_idle()
Date: Tue, 22 Jul 2025 09:20:04 -0000 [thread overview]
Message-ID: <175317600420.1420.1846913174693376674.tip-bot2@tip-bot2> (raw)
In-Reply-To: <tencent_C3E0BD9B812C27A30FC49F1EA6A4B1352707@qq.com>
The following commit has been merged into the sched/core branch of tip:
Commit-ID: 1b5f1454091e9e9fb5c944b3161acf4ec0894d0d
Gitweb: https://git.kernel.org/tip/1b5f1454091e9e9fb5c944b3161acf4ec0894d0d
Author: Feng Lee <379943137@qq.com>
AuthorDate: Mon, 21 Jul 2025 16:04:35 +08:00
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Tue, 22 Jul 2025 11:10:43 +02:00
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
---
include/linux/cpu.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/include/linux/cpu.h b/include/linux/cpu.h
index 6378370..8b1abbf 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
prev parent reply other threads:[~2025-07-22 9:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-21 8:04 [PATCH] idle: remove useless code Feng Lee
2025-07-22 9:20 ` tip-bot2 for Feng Lee [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=175317600420.1420.1846913174693376674.tip-bot2@tip-bot2 \
--to=tip-bot2@linutronix.de \
--cc=379943137@qq.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®