Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4496345imw; Tue, 12 Jul 2022 08:58:03 -0700 (PDT) X-Google-Smtp-Source: AGRyM1slzAOqZT6FnkvfN93p0AU6P7S3K8MnkhSTqSzW9I/tpHjdzK1WLi2jEg8ENOOmYNxc3WbU X-Received: by 2002:a17:902:d707:b0:16b:e35e:abd4 with SMTP id w7-20020a170902d70700b0016be35eabd4mr23884048ply.111.1657641483724; Tue, 12 Jul 2022 08:58:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1657641483; cv=pass; d=google.com; s=arc-20160816; b=fTD4cxKBH/xEyI3bYGcPp30RNs6qZj4u+EzT7UWEqc0xoXoF4QRf08e+Sw46ZJ/fXK VMwfmZOPZLI7si87+ATTNo//+uNNZOiiIyu7gjfeFLJkM7wSsgxut4s7KdZsgvhgez00 WxMuG+kIk0LdHAHYVaONmVh+HjLqLsG0ViNE+hO68h61YtBw75rPbi00e09qoU5KG3Az kCBNlOlXAURCRmriwHJHcAIlBMk3inHIRCV1rZomBjCln/VOBB1AkcSmgPO6pu1sp22V KYjASX8kzlQ3rozjOhaIuzCS2VaMRuefIIzOQDNME5UiOogrOIY0K+oj8ZGjC+SoEPXE cc0Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=uN5+9MjVFTE9bOeD33YGoFoU/Kg+Vigkk4Cy9BhX4dg=; b=fwh7gHChj+Jn5PhRs3HjBvc+Dex8ZQzJRqTdqlzDvlXdQjEbMxr5DpDczY/FoK5Bt4 Z0gewJGoiEiRzqELsPcEHRJA1c6Ho4+24vfqd7BU1VMFegqV2RG3tp/vH8oS3xuVeZU3 Qw6UFiubWrcNgM1A9MbVjMiRcpdP2Y8SId9DSshY1O4puiQeMSV8edr9OyHXuWA56F8j 1sRGjvfbs810e+G2uT2C2ylfmU+/6ypjYiAKgfpbbbFD5c9hd/xocaunxk/pJnYSSPal zZsUk1PmyRhx5s4p+jxoFmAG/TWRoLifujKXAbJuRYr+NgEAu7vg36OqB4OWztBeoT56 98Kg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=YKV4lyfT; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c4-20020a170903234400b0016be6eae6aesi16984275plh.182.2022.07.12.08.57.45; Tue, 12 Jul 2022 08:58:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=YKV4lyfT; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229547AbiGLPkV (ORCPT + 99 others); Tue, 12 Jul 2022 11:40:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233932AbiGLPkT (ORCPT ); Tue, 12 Jul 2022 11:40:19 -0400 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2050.outbound.protection.outlook.com [40.107.243.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9025EB9686; Tue, 12 Jul 2022 08:40:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q4ayTy5lXIHmhbzVrEcQ+/LVGkVz1H7G735y1B+gfUl6dtnIQ3pP2P5Oz/wZEFnyojfpiORADtar8FKopzQ4fbNRV9hMKqxKuIFgQJDlnCnlf6PdCY8uqtufJK8ozWf5zkoBU1IiALJatNajwy9keRL+aOb9kIFZeLDNA42fyOQ6hvpBYLT9NI2cPJDDiifWgDlD+qjMh+Ulznkj62/nV8zRKihQ40xE9ywCxmLbPqeDO9Wvz/kkMpjzqUKzRb9Dy2nGolWA8GvrKmNKLBq8q5uLnnqXl6veyDRtsEHizAUtCLin5i7mz5LJ0WfBn8cJXuWLUr1huVM4YzwMFOjOJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=uN5+9MjVFTE9bOeD33YGoFoU/Kg+Vigkk4Cy9BhX4dg=; b=gPzcJROc2SSbTgFa4xWh9p2FBc9GJGwwpvfdHcLThGFk1aUlxkCQA4KlY+SkA/Aayi4s5Q8nCb5eRKHMdQopvIIhG+3Cw8L5JRCywBzik7/73JzfZtamHgTPibhyI4SWv5cbzF1JGJEzUlrPrynkmZHpsCguBXN5Wsci50HeE2SxFdKEhn7/SOWDLUO1s4dADOf0xAdsHMvC5eVgbEEDHv5pWFEebhO7/W/bA5BdWsnotk5qSchXmtnhjuZkI364BFn2QVME+o3NKQPvMnQbnmL8lmcd3VCyITZhZDJ/Iifi6rXkt7bm6Kv4TEQ86Y7Pcu4+3XSWgwMyAzaoVJpqUw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=intel.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uN5+9MjVFTE9bOeD33YGoFoU/Kg+Vigkk4Cy9BhX4dg=; b=YKV4lyfTFrL2CIeauUCxfj/KNUf7+ikRhn9ywsxDLP3YkTKxGYPZikj7jj+XGvRnMfuwfIGtsAxRSk/hftLNXL26AhdANQRHYwzUjzALCsdx9HkMxEQJ/yXPNcB+CDcShqtdcxq0UdKO55v+Na1SHpNDdNvm0z+gxyY1ViHhIX4= Received: from BN8PR07CA0026.namprd07.prod.outlook.com (2603:10b6:408:ac::39) by MWHPR1201MB0191.namprd12.prod.outlook.com (2603:10b6:301:56::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.25; Tue, 12 Jul 2022 15:40:16 +0000 Received: from BN8NAM11FT009.eop-nam11.prod.protection.outlook.com (2603:10b6:408:ac:cafe::8d) by BN8PR07CA0026.outlook.office365.com (2603:10b6:408:ac::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.25 via Frontend Transport; Tue, 12 Jul 2022 15:40:15 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BN8NAM11FT009.mail.protection.outlook.com (10.13.176.65) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5417.15 via Frontend Transport; Tue, 12 Jul 2022 15:40:15 +0000 Received: from pyuan-desktop.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Tue, 12 Jul 2022 10:40:10 -0500 From: Perry Yuan To: , , CC: , , , , , , , , , , Perry Yuan , Huang Rui , "Rafael J. Wysocki" Subject: [PATCH v3 03/13] cpufreq: amd-pstate: cleanup the unused and duplicated headers declaration Date: Tue, 12 Jul 2022 11:40:00 -0400 Message-ID: <064c323b016dd0cb369d3f2d1301b218abb2b6e7.1657638462.git.Perry.Yuan@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 13de8244-9d9c-4f09-ea58-08da641cd0dd X-MS-TrafficTypeDiagnostic: MWHPR1201MB0191:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: omrWxJhVOdwdVGpoRUcCOX3XXqt0YOtAMg5ZZ0/j5kX5hpj3D2hzn5cWi3DgXWfMklUrv1TEY9nPkJZnLAAnua9eiLttjY3jeoZjgA5S0KtAP4pO/EiRfOuLpnbJEPRfOcRJj4kIdALnsK07NS2db7oqorz+PVwNYs+Pt+2V/qRmTyFxQ9ZJw9hib7sgavE4LzNlg/DayDmwvYBTP4WWMjUEvO/qzrviGnSKafvP/bRuyX242SNeXFfU03dxTJHhX3M40/oVo2/Y08oCejr5/kETK7/U4bJEBLl71BxhQXUgiv53hdFib+GFHiOFNVthKgQtTDJ52TvVFO+spuOXbKrwA5ZGjdMbbQ/ycntokdYkE4DlWv6m67JUm+GsZv4V9yZKgHGQlHnNmcVnXoDcal1AJm/bVXvUtuPjsrO4YVptrIFQ1aaiAEPu+NS+WoPmT0gSzjLh6MbKh6TH3XHspcVQCaifLk+exdlgpvw3+gKod/uKl5UTZJbC7VfTkp3Y8AM8fvlDKz0PRTLIEJ9obMcCQt8pWVL/KsbxiXzFH6Hjelluf7lzq1YE6BdV31wYNyGjgpdpuNqwPurzTxK0ewG663qj3M7IW//MKXRZSgeVohqPNcJcsQL0Jjcihl+tkdX/thNWGj1mANlusEiwvoKhnAfKqkZ7B71EArg6Ph4U9xhRzXM9Qq/fsfFOPDZ3aXFulRjGWMJiTeTHsGZsi8DvccLmaoTP2dPs9Znh16wdKNQuIQk6wGvwaoIGVLYXscj8BIKdwnVZzKOuvFqgQe9CyBRa2Vinv+lK7FaJEl0B6hSBAGAhEt1sPBQ+QH3BQ3IEc2ZeBttXdpb73vMRu4t9ZuayH/TNC5lvDuY+tlc= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230016)(4636009)(396003)(346002)(136003)(376002)(39860400002)(40470700004)(36840700001)(46966006)(316002)(8936002)(36860700001)(8676002)(4744005)(54906003)(40480700001)(83380400001)(5660300002)(36756003)(478600001)(110136005)(2906002)(6666004)(356005)(336012)(82740400003)(41300700001)(426003)(81166007)(47076005)(70586007)(70206006)(86362001)(2616005)(16526019)(6636002)(4326008)(186003)(40460700003)(26005)(7696005)(82310400005)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2022 15:40:15.1787 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 13de8244-9d9c-4f09-ea58-08da641cd0dd X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT009.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR1201MB0191 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Cleanup the headers declaration which are not used actually and some duplicated declaration which is declarated in some other headers already, it will help to simplify the header part. Signed-off-by: Perry Yuan --- drivers/cpufreq/amd-pstate.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c index 188e055e24a2..43e6df9f67f6 100644 --- a/drivers/cpufreq/amd-pstate.c +++ b/drivers/cpufreq/amd-pstate.c @@ -31,19 +31,14 @@ #include #include #include -#include #include #include #include #include -#include #include #include -#include -#include -#include #include "amd-pstate-trace.h" #define AMD_PSTATE_TRANSITION_LATENCY 0x20000 -- 2.25.1