Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1714023rwb; Sun, 14 Aug 2022 10:12:35 -0700 (PDT) X-Google-Smtp-Source: AA6agR7LH6rrsEc2DpIKbHVj2QBEr/N4159Q9iflyMDyQpHybkOv/DCJt59BzKdPphRlzo5TPub3 X-Received: by 2002:a05:6402:26d0:b0:43d:6f63:e6b with SMTP id x16-20020a05640226d000b0043d6f630e6bmr11726128edd.61.1660497154823; Sun, 14 Aug 2022 10:12:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1660497154; cv=pass; d=google.com; s=arc-20160816; b=R7cWsBgR30NXRnIc5onJZfdukPfdFvZshyOfKZNB4kr6Tjkc9/PfvmkJyVn2hPwIKW Ls8VQ57WG8Rj90TnrprMAmHIvHvwdZ0zX01CWqLr3jvRERqckkxurLdX7EudMEZHdV// 4fvHecz2uv0h+xU0cxpLfQgnN1UQ5uWiFpUYci6MT6aa/EWoFS0QtNeXPd0drBNqTR/S TTU5A3hOI6SFAT5mqxY5hFWRBwWe/EWr1vyiL7qtXLbwfxlLoZ7pWBvhTo+979YMTxBL uOE3OETtTS92dbnHmTrkpVhVI8p/qx6CqebXjEHOeV3K5rSHN9Y+RADxSfOJaG5YtXMF WPcQ== 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=ybRtwuyt6S2qJNkz9GNQm+d4ydIhgbt3IuVG2m09KhQ=; b=ihjeteGir7oOHyObBICx7N0ZafY94O7NJmHWhFcykJ2yBobS7fo1MLnq4Sn81cojzR 2uwdHTEVadPl2fURCzM01GeAAErKRpCu3sBjMpxcZXZsL/+w5ZMS0PGui8WpWLCPb8M6 24oPcM3oDzGwn0rC+TWeFmyIOfIgJxIN808d5TrUoUfHo5yo958ScNJGgMbqGcVaGaRp oRN48vYT3fCsTguUiwhwUy4/mgHcmn0MVk4Ka1CCZabDKPyqBTYrBwLH7zDCfEge6BOk CTZTrYW3boGzIoeba04S0LOLuRtyluVGmFtCu3KzcrfRXuJpYLOZ8/sohDB1QTm3Xhkc aprA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=4e1ZsBLX; 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 x1-20020a50ba81000000b0043ce498c802si6287854ede.210.2022.08.14.10.12.09; Sun, 14 Aug 2022 10:12:34 -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=4e1ZsBLX; 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 S243375AbiHNQr0 (ORCPT + 99 others); Sun, 14 Aug 2022 12:47:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54832 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243965AbiHNQrH (ORCPT ); Sun, 14 Aug 2022 12:47:07 -0400 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2078.outbound.protection.outlook.com [40.107.243.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B9C095AC8; Sun, 14 Aug 2022 09:37:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SCJroC69dGsPbqQfWAZy1GjXXaeQxXSPe2jBcRyU4SdIk7gKJnVuRl5WSFBJCv9mbkE+OiH90hK+Rxo7C/d5rd1n6Bj0fVuthlgiflmhi2gzponCZiTnG5gV7P3tCFhd+GKpPf+J+s5+LXZa9KKyfOtzk2hQhUwMFIxnheA6eYhoK0WuLT7f5FJ3VQXiOw7e/lo84Hkx+T7oPNXKky2GdPDq8/0nwtHBztloEsynrsSAPznSDMap61y1mOaDJKvj6iIN54V7Kml5u+kFJ+FGdKnMJux4y61/sKP5A9AguEQMitUBheWMXHrWPG2QCJ3FYVwNB3kquiUopyyfmyJGwg== 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=ybRtwuyt6S2qJNkz9GNQm+d4ydIhgbt3IuVG2m09KhQ=; b=CMP0Dkv4rZvglQAw2Y4CW26Ty54irChI+8NkcGGT2IjQP9r+oEjYFRxSsgEHxHyyVg6rUJFvpyGJkvU5ucw7A07k021xcJDgrlKFjOFnx7QJPdO9xQM2okSP6uIWHZlb6p6ME0lj5ZzQCXXbYEbo1jAp/+dpxXopj596TZNjus5c53prF5WUQyF5ASrFaQGoHc++e3+jrU1ywm+314xAfVqSyOS0B+7u0/mqYaXNOmapdfWYmOhNuuQxEdjOH/6/7Cvagc+R6NdiK8YRoAT52BzI7KxgdSNcP+k6qW1VUAdqbVAyxuQQsyDn7AeRvcp6OqeaLjqUU+aFpMnLyBWpug== 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=ybRtwuyt6S2qJNkz9GNQm+d4ydIhgbt3IuVG2m09KhQ=; b=4e1ZsBLXxA+mQ8QQQSLjrql3V3xW5tgYMfptUwTv+Dqaj8coxqkjq8+Mv2rU8lhdADNtQRwVgRrL1lvLdhY2bDmQpWt9U9a/r5ajb93nqJQo0y3rurJ6NPRXSIw3isH31aPWTrmjv4WF+fw6BaWY26xFXY7FA3FZ2lkUZE76cd4= Received: from MW4P222CA0017.NAMP222.PROD.OUTLOOK.COM (2603:10b6:303:114::22) by SA1PR12MB7125.namprd12.prod.outlook.com (2603:10b6:806:29f::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.16; Sun, 14 Aug 2022 16:37:03 +0000 Received: from CO1NAM11FT106.eop-nam11.prod.protection.outlook.com (2603:10b6:303:114:cafe::e1) by MW4P222CA0017.outlook.office365.com (2603:10b6:303:114::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5482.10 via Frontend Transport; Sun, 14 Aug 2022 16:37:03 +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 CO1NAM11FT106.mail.protection.outlook.com (10.13.175.44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5546.7 via Frontend Transport; Sun, 14 Aug 2022 16:37:03 +0000 Received: from aerithdevpyuan.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; Sun, 14 Aug 2022 11:36:30 -0500 From: Perry Yuan To: , , CC: , , , , , , , , , , Perry Yuan Subject: [PATCH v5 1/7] cpufreq: amd-pstate: cleanup the unused and duplicated headers declaration Date: Mon, 15 Aug 2022 00:35:42 +0800 Message-ID: <20220814163548.326686-2-Perry.Yuan@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220814163548.326686-1-Perry.Yuan@amd.com> References: <20220814163548.326686-1-Perry.Yuan@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6944583f-9002-4d42-81b3-08da7e1337f9 X-MS-TrafficTypeDiagnostic: SA1PR12MB7125:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hLZPdxcUI1LIUvYLbyHLQXM0NnFZ2tCxALGYwc6J061VycN/Yl+YvBQvmD/2Pezzj1H+n7X2LxluFR9LjEEUyrGjDrvrY2JGhtxijjfC65tK94CuWkG6qVGhox5Rb3e5ElOkgDKgZNgvMKU6nr3bDz3ni2o1GAjhvCLqylz1Ke8IUvyhiZtrMkySG8fRMU++dfzlcIznW7SPkTOqIaZ5B1l2H7kEWlEKb0F9N+8OQeXlsbDRMCTjJ/UGsbu/OwNoo4T8nEYkxZmvDVQXFnaPPASSZcajAI7I9YmMn5Ft9sIklI3MensEETflY9jRt8tvH7rB3vCs4PB5TAhByP5Q/qDIhz7qoF+u5fzBIMRCMDVdfLiwlEeBFChsoDKhmCnitwU9DqdVQFKZrbnO8X5WGF++A08Qyg0vO1+2hF3/Ls0BWe3D++v09OZmQQfgU67fQK0JKBWn5t6cGx2Yyj1KjUJhkMVNYRUZoxX/dAJdHi6Z+2RqdzN4Huu6o3vtc1IOxxVqCBEuNiWuqL7YitBytYOMAI0WZimYlDZUQzeubNNQxVx4LZOxT9IBK8/x6ZBUtz5Muq8vG3dzoXGKyDa69xi/ryiVCRF+jL633iUMzISoxwpxZrXtm30RQYojvIoefXPRYeUpnPmNk1JskwFBugS/qKrf+pKZhNWTfEvj8JCtnU2VYr1rJCbuBXfZFakeFx/JdscdVAs2nCMBP2pW7Mjx5ZV9XopA+D5Amvj6GjJAS/YULLFlH7QKZabKAmU0s6kDtKL2AAfkM1EOKu81CxcqRVQI5QNaN/RI3lX4c6lvKG1WFWh7nmv5u4ne6D99X2qplRPHNEiV6l9F2BNRT8CyZW/lzF+LloU2J9ZempY= 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)(346002)(396003)(376002)(39860400002)(136003)(36840700001)(40470700004)(46966006)(478600001)(36756003)(6666004)(7696005)(86362001)(2616005)(26005)(426003)(47076005)(336012)(186003)(16526019)(1076003)(41300700001)(83380400001)(82310400005)(40480700001)(40460700003)(70206006)(8676002)(54906003)(70586007)(110136005)(316002)(4326008)(356005)(36860700001)(81166007)(5660300002)(8936002)(82740400003)(2906002)(36900700001)(2101003);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Aug 2022 16:37:03.3048 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6944583f-9002-4d42-81b3-08da7e1337f9 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: CO1NAM11FT106.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB7125 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. Reviewed-by: Huang Rui Acked-by: Viresh Kumar 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 9ac75c1cde9c..19a078e232dd 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.34.1