Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp4244385pxy; Mon, 26 Apr 2021 23:39:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbmLPxNV2wOtQtkiVBXW6s6/mCbxqlSQ7howgCmv97lPF1q+AyGySAwa9dbe2f3Gr7YiKh X-Received: by 2002:a17:902:edd5:b029:e9:7477:5f0a with SMTP id q21-20020a170902edd5b02900e974775f0amr22428182plk.81.1619505585150; Mon, 26 Apr 2021 23:39:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619505585; cv=none; d=google.com; s=arc-20160816; b=W+n9NrT2amEVZ6w7oW9aNLDCzpclhpilZO1Pk0xT4+CSt8jH5rrC+o4wKkHePcIBMg dDFwZDbhX6eXt4lMmWsderJGxw58ZI1Xk+x5lgtDGInGu/7fz+PpkLJpCCqUBNykUaIA bezQSr0UMEC+EYzC9EtYojbLfpRUb+TdPPCEiNlhpDcISQUiXEZJyupYQ0XcxN2qeJVd wRw0y4+oiaS2Ic3JD8ehvG2gES7IR8n9HmaYshL3EV/tRAROqHA2yAd7G6DGa7BJVgpm CYy7z7AzQkF8XSDkS6XPqoqgiff63cNOqHLHZtNLc9SDMP3zasjYqELW6TSijAG/GrFE 9d9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=YCUqT6wXZkJue25MehWLFd0vRFpRROhafwrEQm7ESUw=; b=PIDFTfh/DS9E0VlkbWKA2IpBu/CTlR7M84sPB6s8nUTxXPEnxpzsGdfBva1wc29uAr vJRxfCI+Od9Xz4y8c2BZfRVSyCMlvL7cCihunWvVnRpC0TnIjQwKjBeyC5eLN15fCUH6 ebJUlZoQs3qvCfzLC7SNPQmzPP3RQsASuu+Rbh45AzMnNZdtkWYJIKDwuGb4TvA3dCpu 3p2OeIIEE93iQu5Y3TBEELYB5loWz4tjGbwwkx4F0w2sWa7wqfTqpNSmkAmLA4weVQUc Rusdl8NUqE7Helo3BoisCpZSJtR2WA8artGppBHSPLZ5Rp2IvEpxrnSKkU6ZAP4kolgl Gpbg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s1si21675488plp.167.2021.04.26.23.39.32; Mon, 26 Apr 2021 23:39:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230062AbhD0Gjm (ORCPT + 99 others); Tue, 27 Apr 2021 02:39:42 -0400 Received: from mail-m121145.qiye.163.com ([115.236.121.145]:54092 "EHLO mail-m121145.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229578AbhD0Gjk (ORCPT ); Tue, 27 Apr 2021 02:39:40 -0400 Received: from wanjb-virtual-machine.localdomain (unknown [36.152.145.182]) by mail-m121145.qiye.163.com (Hmail) with ESMTPA id 57B5980012C; Tue, 27 Apr 2021 14:38:55 +0800 (CST) From: Wan Jiabing To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" , "Peter Zijlstra (Intel)" , Giovanni Gherdovich , "Rafael J. Wysocki" , Mike Rapoport , Vitaly Kuznetsov , Nathan Fontenot , Ashok Raj , Brian Gerst , linux-kernel@vger.kernel.org Cc: kael_w@yeah.net, Wan Jiabing Subject: [PATCH] x86/smpboot: Remove duplicate includes Date: Tue, 27 Apr 2021 14:38:26 +0800 Message-Id: <20210427063835.9039-1-wanjiabing@vivo.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZGhhMQ1ZPS0JIQhkfSBoeQxlVEwETFhoSFyQUDg9ZV1kWGg8SFR0UWUFZT0tIVUpKS0 hKTFVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6NzI6Txw4HT8JFlYCESERPglD QzgwFBxVSlVKTUpCTktOTkhNSU9OVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFJSExLNwY+ X-HM-Tid: 0a79120d5b44b03akuuu57b5980012c Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org asm/intel-family.h is included at line 80. asm/cpu_device_id.h is included at line 81. Remove duplicate includes here. Signed-off-by: Wan Jiabing --- arch/x86/kernel/smpboot.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 1e2050c4f94a..c1c1bd1ab921 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c @@ -1863,9 +1863,6 @@ static bool slv_set_max_freq_ratio(u64 *base_freq, u64 *turbo_freq) return true; } -#include -#include - #define X86_MATCH(model) \ X86_MATCH_VENDOR_FAM_MODEL_FEATURE(INTEL, 6, \ INTEL_FAM6_##model, X86_FEATURE_APERFMPERF, NULL) -- 2.25.1