From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758145AbbKSKHE (ORCPT ); Thu, 19 Nov 2015 05:07:04 -0500 Received: from terminus.zytor.com ([198.137.202.10]:39537 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758217AbbKSKHA (ORCPT ); Thu, 19 Nov 2015 05:07:00 -0500 Date: Thu, 19 Nov 2015 02:06:44 -0800 From: tip-bot for Juergen Gross Message-ID: Cc: tglx@linutronix.de, hpa@zytor.com, jgross@suse.com, mingo@kernel.org, linux-kernel@vger.kernel.org Reply-To: hpa@zytor.com, tglx@linutronix.de, jgross@suse.com, linux-kernel@vger.kernel.org, mingo@kernel.org In-Reply-To: <1447761943-770-1-git-send-email-jgross@suse.com> References: <1447761943-770-1-git-send-email-jgross@suse.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/cleanups] x86: Remove unused function cpu_has_ht_siblings() Git-Commit-ID: ed29210cd6a67425026e78aa298fa434e11a74e3 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: ed29210cd6a67425026e78aa298fa434e11a74e3 Gitweb: http://git.kernel.org/tip/ed29210cd6a67425026e78aa298fa434e11a74e3 Author: Juergen Gross AuthorDate: Tue, 17 Nov 2015 13:05:43 +0100 Committer: Thomas Gleixner CommitDate: Tue, 17 Nov 2015 15:40:17 +0100 x86: Remove unused function cpu_has_ht_siblings() It is used nowhere. Signed-off-by: Juergen Gross Link: http://lkml.kernel.org/r/1447761943-770-1-git-send-email-jgross@suse.com Signed-off-by: Thomas Gleixner --- arch/x86/include/asm/smp.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/arch/x86/include/asm/smp.h b/arch/x86/include/asm/smp.h index 222a6a3..a438c55 100644 --- a/arch/x86/include/asm/smp.h +++ b/arch/x86/include/asm/smp.h @@ -21,15 +21,6 @@ extern int smp_num_siblings; 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_core_map); /* cpus sharing the last level cache: */