[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <174714775803.406.6293002744771643287.tip-bot2@tip-bot2>
Date: Tue, 13 May 2025 14:49:18 -0000
From: "tip-bot2 for Alex Shi" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Alex Shi <alexs@...nel.org>, Thomas Gleixner <tglx@...utronix.de>,
x86@...nel.org, linux-kernel@...r.kernel.org
Subject:
[tip: timers/core] tick/nohz: Remove unused tick_nohz_full_add_cpus_to()
The following commit has been merged into the timers/core branch of tip:
Commit-ID: 6c58d2791d6046727d87db50a5e46644f195dcf9
Gitweb: https://git.kernel.org/tip/6c58d2791d6046727d87db50a5e46644f195dcf9
Author: Alex Shi <alexs@...nel.org>
AuthorDate: Thu, 10 Apr 2025 17:24:16 +08:00
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitterDate: Tue, 13 May 2025 16:38:03 +02:00
tick/nohz: Remove unused tick_nohz_full_add_cpus_to()
This function isn't used anywhere. Remove it.
Signed-off-by: Alex Shi <alexs@...nel.org>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Link: https://lore.kernel.org/all/20250410092423.9831-1-alexs@kernel.org
---
include/linux/tick.h | 7 -------
1 file changed, 7 deletions(-)
diff --git a/include/linux/tick.h b/include/linux/tick.h
index b8ddc8e..ac76ae9 100644
--- a/include/linux/tick.h
+++ b/include/linux/tick.h
@@ -195,12 +195,6 @@ static inline bool tick_nohz_full_enabled(void)
__ret; \
})
-static inline void tick_nohz_full_add_cpus_to(struct cpumask *mask)
-{
- if (tick_nohz_full_enabled())
- cpumask_or(mask, mask, tick_nohz_full_mask);
-}
-
extern void tick_nohz_dep_set(enum tick_dep_bits bit);
extern void tick_nohz_dep_clear(enum tick_dep_bits bit);
extern void tick_nohz_dep_set_cpu(int cpu, enum tick_dep_bits bit);
@@ -281,7 +275,6 @@ extern void __init tick_nohz_full_setup(cpumask_var_t cpumask);
#else
static inline bool tick_nohz_full_enabled(void) { return false; }
static inline bool tick_nohz_full_cpu(int cpu) { return false; }
-static inline void tick_nohz_full_add_cpus_to(struct cpumask *mask) { }
static inline void tick_nohz_dep_set_cpu(int cpu, enum tick_dep_bits bit) { }
static inline void tick_nohz_dep_clear_cpu(int cpu, enum tick_dep_bits bit) { }
Powered by blists - more mailing lists