Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2006222imm; Thu, 14 Jun 2018 07:21:16 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKG0ndrHbCVchBnO+m70h/Fkn+IGAM8Q2H3m1ottJ2wQTd3zYFSjyJYm8RCNdjc3hROdt1Y X-Received: by 2002:a63:8048:: with SMTP id j69-v6mr2513207pgd.429.1528986076246; Thu, 14 Jun 2018 07:21:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528986076; cv=none; d=google.com; s=arc-20160816; b=T3lmwDF6DOXsv0XdtprdmUYk6tnMcYPrrVRb3DQJ1z3hErA/WmdjQULPHmmWFNgx2p Pqqk+R1CYaAE0agQuTv+NG5mAWFZPLmw6X7zk/AFAQM9ETAtC2mqYg7tQtFcDWzh+K6e tyhiOXYg+u+S7VCAsDWYBrNZnvt/sn0pdrfmSDOl07XAlK0cU/Lle9AmztelLOknDx2E sQfHi5PXAxRQ7S+j8hurN/DEc+QCIKxW236GM5rg4v9ffetPrUU674AfXulo9SZRMvaK e6wD/OGNz42Gs6NhtNA30aO1r8KtYXzo0jEaBC7C41XUimfN0qh7EV+BvLgJuhlA9TER frNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=v6nh0J1u3RivrpW25QrsIzdii/8I69vOs9fBmOu8Qa0=; b=SiiQyQmglWcInaWmQ7crAGui24Frp8ropQpZdZbFpLzVU2jDw+I6OnqO93EnKAaj5L 3uDUw3T6boVIVQHWEOcE2muh6eytDeeg4wn4cfIj1bAma58T6IvCi6E/4VkkShRveDzk XsmqldxTaUx6p1yCQYAb6CmKY/iV7qPUSNutq9wTOxsBYe+SjQXw6zLHF05MReskg9Hk U9NBGqKyFx5RpugV8eHtPSoCILe0ijdqeNdPb/ACAWdjqRr+pmUZIorMuXw/IgxgVSpm 44Wd/hD6MlY6sLsWEU48vIP8blYtO1tRrpSFfPW1JpADVqFsH044G06Zo3qWEURFCm6f zQtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=KUFzjRFl; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k9-v6si5481185pfc.129.2018.06.14.07.21.01; Thu, 14 Jun 2018 07:21:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=KUFzjRFl; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966377AbeFNOTx (ORCPT + 99 others); Thu, 14 Jun 2018 10:19:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:54350 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965659AbeFNOM7 (ORCPT ); Thu, 14 Jun 2018 10:12:59 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 86913208DA; Thu, 14 Jun 2018 14:12:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1528985579; bh=Y/RXxsH+YGpu8YARvYtFF3M8fZvTZOu1TdKNCEkNRFA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KUFzjRFlWl8h75VjQwKUmQY/XraxBXrxecV3+9T8AWJJZci6RLp0G8uJaim4BgMMi XeWCb4wMXJPs31r8H3UTOOAakYjafsXX2ACsYiJRuEK+hQzIEa3tyQytKrBHt/IJd/ 7Z+renDXITfuG78CTE0YKxgtQomGyIB8HKMGnKoc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Juergen Gross , Thomas Gleixner Subject: [PATCH 4.4 02/24] x86: Remove unused function cpu_has_ht_siblings() Date: Thu, 14 Jun 2018 16:04:57 +0200 Message-Id: <20180614132724.578941852@linuxfoundation.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180614132724.483802160@linuxfoundation.org> References: <20180614132724.483802160@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Juergen Gross commit ed29210cd6a67425026e78aa298fa434e11a74e3 upstream. 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 Signed-off-by: Greg Kroah-Hartman --- arch/x86/include/asm/smp.h | 9 --------- 1 file changed, 9 deletions(-) --- 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: */