Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

x86: Remove unused function cpu_has_ht_siblings()

It is used nowhere.

Signed-off-by: Juergen Gross <jgross@suse.com>
Link: http://lkml.kernel.org/r/1447761943-770-1-git-send-email-jgross@suse.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

authored by

Juergen Gross and committed by
Thomas Gleixner
ed29210c 79f1d836

-9
-9
arch/x86/include/asm/smp.h
··· 21 21 extern int smp_num_siblings; 22 22 extern unsigned int num_processors; 23 23 24 - static inline bool cpu_has_ht_siblings(void) 25 - { 26 - bool has_siblings = false; 27 - #ifdef CONFIG_SMP 28 - has_siblings = cpu_has_ht && smp_num_siblings > 1; 29 - #endif 30 - return has_siblings; 31 - } 32 - 33 24 DECLARE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_sibling_map); 34 25 DECLARE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_core_map); 35 26 /* cpus sharing the last level cache: */