浏览代码

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>
Juergen Gross 9 年之前
父节点
当前提交
ed29210cd6
共有 1 个文件被更改,包括 0 次插入9 次删除
  1. 0 9
      arch/x86/include/asm/smp.h

+ 0 - 9
arch/x86/include/asm/smp.h

@@ -21,15 +21,6 @@
 extern int smp_num_siblings;
 extern int smp_num_siblings;
 extern unsigned int num_processors;
 extern unsigned int num_processors;
 
 
-static inline bool cpu_has_ht_siblings(void)
-{
-	bool has_siblings = false;
-#ifdef CONFIG_SMP
-	has_siblings = cpu_has_ht && smp_num_siblings > 1;
-#endif
-	return has_siblings;
-}
-
 DECLARE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_sibling_map);
 DECLARE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_sibling_map);
 DECLARE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_core_map);
 DECLARE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_core_map);
 /* cpus sharing the last level cache: */
 /* cpus sharing the last level cache: */