[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20240417201123.2961-1-adobriyan@gmail.com>
Date: Wed, 17 Apr 2024 23:11:23 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: akpm@...ux-foundation.org
Cc: adobriyan@...il.com,
yury.norov@...il.com,
linux@...musvillemoes.dk,
linux-kernel@...r.kernel.org
Subject: [PATCH] cpumask: delete unused reset_cpu_possible_mask()
Signed-off-by: Alexey Dobriyan <adobriyan@...il.com>
---
include/linux/cpumask.h | 5 -----
1 file changed, 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)
{
--
2.43.2
Powered by blists - more mailing lists