aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dobriyan <[email protected]>2024-04-17 23:11:23 +0300
committerAndrew Morton <[email protected]>2024-05-08 08:41:26 -0700
commit055e09ac54ae9c8396c1086fe06a73e0ce9bdd10 (patch)
tree29effe1292f7f34aaeb049f2d38e2dfd91a64ca1
parent200a289b342bae6cbeb0b7406b2af55feef0de94 (diff)
cpumask: delete unused reset_cpu_possible_mask()
Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Alexey Dobriyan <[email protected]> Cc: Rasmus Villemoes <[email protected]> Cc: Yury Norov <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
-rw-r--r--include/linux/cpumask.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/cpumask.h b/include/linux/cpumask.h
index 1c29947db848..04536a29f10f 100644
--- a/include/linux/cpumask.h
+++ b/include/linux/cpumask.h
@@ -1017,11 +1017,6 @@ void init_cpu_present(const struct cpumask *src);
void init_cpu_possible(const struct cpumask *src);
void init_cpu_online(const struct cpumask *src);
-static inline void reset_cpu_possible_mask(void)
-{
- bitmap_zero(cpumask_bits(&__cpu_possible_mask), NR_CPUS);
-}
-
static inline void
set_cpu_possible(unsigned int cpu, bool possible)
{