Skip to content

Commit 7f15d4a

Browse files
Dr. David Alan GilbertYuryNorov
authored andcommitted
cpu: Remove unused init_cpu_online
The last use of init_cpu_online() was removed by the commit cf8e865 ("arch: Remove Itanium (IA-64) architecture") Remove it. Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Signed-off-by: Yury Norov <yury.norov@gmail.com>
1 parent f9d2ee3 commit 7f15d4a

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

include/linux/cpumask.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,6 @@ extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS);
10431043
/* Wrappers for arch boot code to manipulate normally-constant masks */
10441044
void init_cpu_present(const struct cpumask *src);
10451045
void init_cpu_possible(const struct cpumask *src);
1046-
void init_cpu_online(const struct cpumask *src);
10471046

10481047
#define assign_cpu(cpu, mask, val) \
10491048
assign_bit(cpumask_check(cpu), cpumask_bits(mask), (val))

kernel/cpu.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3128,11 +3128,6 @@ void init_cpu_possible(const struct cpumask *src)
31283128
cpumask_copy(&__cpu_possible_mask, src);
31293129
}
31303130

3131-
void init_cpu_online(const struct cpumask *src)
3132-
{
3133-
cpumask_copy(&__cpu_online_mask, src);
3134-
}
3135-
31363131
void set_cpu_online(unsigned int cpu, bool online)
31373132
{
31383133
/*

0 commit comments

Comments
 (0)