From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754024AbbKQP7K (ORCPT ); Tue, 17 Nov 2015 10:59:10 -0500 Received: from mail.skyhub.de ([78.46.96.112]:56045 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753865AbbKQP7I (ORCPT ); Tue, 17 Nov 2015 10:59:08 -0500 Date: Tue, 17 Nov 2015 16:58:58 +0100 From: Borislav Petkov To: Juergen Gross Cc: linux-kernel@vger.kernel.org, x86@kernel.org, hpa@zytor.com, tglx@linutronix.de, mingo@redhat.com Subject: Re: [PATCH] x86: remove unused function cpu_has_ht_siblings() Message-ID: <20151117155858.GA9374@pd.tnic> References: <1447761943-770-1-git-send-email-jgross@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1447761943-770-1-git-send-email-jgross@suse.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 17, 2015 at 01:05:43PM +0100, Juergen Gross wrote: > It is used nowhere. > > Signed-off-by: Juergen Gross > --- > 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: */ > -- Applied, thanks. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.