From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 9808AA0093;
	Thu, 21 Apr 2022 21:10:26 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 4980942825;
	Thu, 21 Apr 2022 21:09:28 +0200 (CEST)
Received: from mga18.intel.com (mga18.intel.com [134.134.136.126])
 by mails.dpdk.org (Postfix) with ESMTP id A4F5342825
 for <dev@dpdk.org>; Thu, 21 Apr 2022 21:09:26 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;
 d=intel.com; i=@intel.com; q=dns/txt; s=Intel;
 t=1650568166; x=1682104166;
 h=from:to:cc:subject:date:message-id:in-reply-to:
 references:mime-version:content-transfer-encoding;
 bh=8whBorLyN5V1napSo357B4983HlGSJrhPhXDPTh+6k0=;
 b=Vwz/0A/DcZl0NI33uoPwoxHOsl2IA4FkGmUvzmFD7RUqAIhxftHC6Ul9
 2HFG2z/lySEl/suGEc1CsTZc9HtrPoPeu7JCZ/oGfbDCGc8psh7peRsWm
 trwp6lZyhSVWWYVNx3RnASekvmFq2/b1311P+SPfQVs/9mFZbQ/wY8uIM
 Ns0izLsXpGi9lxw9nnVxbWzmiqw8d+KpzPwFsCP5WbR6h/IYlTCPgXna3
 SYZvaWo7PdIokcjpBC5DUtrLFVZtlihqsk0JD5o6UTgyh7b23x38AF2SD
 GqTg4p0FGH9DJzGFR+Vfk5A0YkntElhMFMZ8ShF5eE172XDbq/hv2fdGb g==;
X-IronPort-AV: E=McAfee;i="6400,9594,10324"; a="246354197"
X-IronPort-AV: E=Sophos;i="5.90,279,1643702400"; d="scan'208";a="246354197"
Received: from orsmga004.jf.intel.com ([10.7.209.38])
 by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
 21 Apr 2022 12:09:26 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.90,279,1643702400"; d="scan'208";a="671185640"
Received: from silpixa00401215.ir.intel.com ([10.55.128.100])
 by orsmga004.jf.intel.com with ESMTP; 21 Apr 2022 12:09:24 -0700
From: Sean Morrissey <sean.morrissey@intel.com>
To: David Hunt <david.hunt@intel.com>
Cc: dev@dpdk.org,
	Sean Morrissey <sean.morrissey@intel.com>
Subject: [PATCH v1 12/19] power: remove unneeded header includes
Date: Thu, 21 Apr 2022 19:08:52 +0000
Message-Id: <20220421190859.264174-13-sean.morrissey@intel.com>
X-Mailer: git-send-email 2.25.1
In-Reply-To: <20220421190859.264174-1-sean.morrissey@intel.com>
References: <20220421190859.264174-1-sean.morrissey@intel.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/power/power_pstate_cpufreq.c | 1 -
 lib/power/rte_power_empty_poll.h | 3 ---
 lib/power/rte_power_pmd_mgmt.c   | 2 --
 lib/power/rte_power_pmd_mgmt.h   | 5 -----
 4 files changed, 11 deletions(-)

diff --git a/lib/power/power_pstate_cpufreq.c b/lib/power/power_pstate_cpufreq.c
index f4c36179ec..959eccffd8 100644
--- a/lib/power/power_pstate_cpufreq.c
+++ b/lib/power/power_pstate_cpufreq.c
@@ -8,7 +8,6 @@
 #include <unistd.h>
 #include <limits.h>
 #include <errno.h>
-#include <inttypes.h>
 
 #include <rte_memcpy.h>
 
diff --git a/lib/power/rte_power_empty_poll.h b/lib/power/rte_power_empty_poll.h
index 43fb276077..f6306fdcdf 100644
--- a/lib/power/rte_power_empty_poll.h
+++ b/lib/power/rte_power_empty_poll.h
@@ -13,10 +13,7 @@
 #include <stdbool.h>
 
 #include <rte_common.h>
-#include <rte_byteorder.h>
-#include <rte_log.h>
 #include <rte_string_fns.h>
-#include <rte_power.h>
 #include <rte_timer.h>
 
 #ifdef __cplusplus
diff --git a/lib/power/rte_power_pmd_mgmt.c b/lib/power/rte_power_pmd_mgmt.c
index 39a2b4cd23..e6fab9639e 100644
--- a/lib/power/rte_power_pmd_mgmt.c
+++ b/lib/power/rte_power_pmd_mgmt.c
@@ -4,10 +4,8 @@
 
 #include <rte_lcore.h>
 #include <rte_cycles.h>
-#include <rte_cpuflags.h>
 #include <rte_malloc.h>
 #include <rte_ethdev.h>
-#include <rte_power_intrinsics.h>
 
 #include "rte_power_pmd_mgmt.h"
 
diff --git a/lib/power/rte_power_pmd_mgmt.h b/lib/power/rte_power_pmd_mgmt.h
index 444e7b8a66..e83aec3484 100644
--- a/lib/power/rte_power_pmd_mgmt.h
+++ b/lib/power/rte_power_pmd_mgmt.h
@@ -11,13 +11,8 @@
  */
 
 #include <stdint.h>
-#include <stdbool.h>
 
-#include <rte_common.h>
-#include <rte_byteorder.h>
-#include <rte_log.h>
 #include <rte_power.h>
-#include <rte_atomic.h>
 
 #ifdef __cplusplus
 extern "C" {
-- 
2.25.1