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 7EC72A00C5;
	Mon, 14 Feb 2022 12:40:29 +0100 (CET)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 3782042728;
	Mon, 14 Feb 2022 12:38:12 +0100 (CET)
Received: from mga18.intel.com (mga18.intel.com [134.134.136.126])
 by mails.dpdk.org (Postfix) with ESMTP id 4D30E426F4
 for <dev@dpdk.org>; Mon, 14 Feb 2022 12:38:04 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;
 d=intel.com; i=@intel.com; q=dns/txt; s=Intel;
 t=1644838684; x=1676374684;
 h=from:to:cc:subject:date:message-id:in-reply-to:
 references:mime-version:content-transfer-encoding;
 bh=++pfAzgNAHR9ygyv7/ck+Vc7pcygHB3IByZmmm5XKqw=;
 b=TZeki8uPGLhuHAfrUwsW0f9Q/EggPOx17DUC90inoyqXE23HX1Xgv8h+
 p1HZ3by93S6YUpQvc/bfD9j/xZpkHW1qkgLlfJ9z6PsemEq2AQYyBZagG
 NHyc+pf3LvqYijeZl5VY9BdGEAuaG/YrIa8bTNVDHiIgq/YnjZdQoeBnt
 uznxLw1J6nfwIa1U1T45KLC38UhdkuMYgQPnECDjTvPktruHcJAGkWFTc
 MiUUJYCDjxOnG+S8/LZj7nY9Wm6YuazxGs7WNWo2rsLJcMpMwQlAeS5kX
 NWrz8eNOOfbTlTq6K4sUSy+UBGbRqhDWshN5v4QmjYOEkZQKKHBEjV+eM Q==;
X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="233619994"
X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="233619994"
Received: from fmsmga002.fm.intel.com ([10.253.24.26])
 by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
 14 Feb 2022 03:38:03 -0800
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="632087898"
Received: from silpixa00401215.ir.intel.com ([10.55.128.96])
 by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:38:02 -0800
From: Sean Morrissey <sean.morrissey@intel.com>
To: Bernard Iremonger <bernard.iremonger@intel.com>
Cc: dev@dpdk.org,
	Sean Morrissey <sean.morrissey@intel.com>
Subject: [PATCH v7 39/50] flow_classify: remove unneeded header includes
Date: Mon, 14 Feb 2022 11:36:21 +0000
Message-Id: <20220214113632.3184921-40-sean.morrissey@intel.com>
X-Mailer: git-send-email 2.25.1
In-Reply-To: <20220214113632.3184921-1-sean.morrissey@intel.com>
References: <20220202094802.3618978-1-sean.morrissey@intel.com>
 <20220214113632.3184921-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/flow_classify/rte_flow_classify.c       | 3 ---
 lib/flow_classify/rte_flow_classify.h       | 4 ----
 lib/flow_classify/rte_flow_classify_parse.c | 1 -
 lib/flow_classify/rte_flow_classify_parse.h | 1 -
 4 files changed, 9 deletions(-)

diff --git a/lib/flow_classify/rte_flow_classify.c b/lib/flow_classify/rte_flow_classify.c
index d3ba2ed227..e3667306e5 100644
--- a/lib/flow_classify/rte_flow_classify.c
+++ b/lib/flow_classify/rte_flow_classify.c
@@ -3,12 +3,9 @@
  */
 
 #include <rte_string_fns.h>
-#include <rte_compat.h>
 #include <rte_flow_classify.h>
 #include "rte_flow_classify_parse.h"
-#include <rte_flow_driver.h>
 #include <rte_table_acl.h>
-#include <stdbool.h>
 
 static uint32_t unique_id = 1;
 
diff --git a/lib/flow_classify/rte_flow_classify.h b/lib/flow_classify/rte_flow_classify.h
index 82ea92b6a6..39512b6206 100644
--- a/lib/flow_classify/rte_flow_classify.h
+++ b/lib/flow_classify/rte_flow_classify.h
@@ -45,11 +45,7 @@
 
 #include <rte_compat.h>
 #include <rte_common.h>
-#include <rte_ethdev.h>
-#include <rte_ether.h>
 #include <rte_flow.h>
-#include <rte_acl.h>
-#include <rte_table_acl.h>
 
 #ifdef __cplusplus
 extern "C" {
diff --git a/lib/flow_classify/rte_flow_classify_parse.c b/lib/flow_classify/rte_flow_classify_parse.c
index 465330291f..345d129d35 100644
--- a/lib/flow_classify/rte_flow_classify_parse.c
+++ b/lib/flow_classify/rte_flow_classify_parse.c
@@ -4,7 +4,6 @@
 
 #include <rte_flow_classify.h>
 #include "rte_flow_classify_parse.h"
-#include <rte_flow_driver.h>
 
 struct classify_valid_pattern {
 	enum rte_flow_item_type *items;
diff --git a/lib/flow_classify/rte_flow_classify_parse.h b/lib/flow_classify/rte_flow_classify_parse.h
index 365a07bd6d..7943efc0d4 100644
--- a/lib/flow_classify/rte_flow_classify_parse.h
+++ b/lib/flow_classify/rte_flow_classify_parse.h
@@ -6,7 +6,6 @@
 #define _RTE_FLOW_CLASSIFY_PARSE_H_
 
 #include <rte_ethdev.h>
-#include <rte_ether.h>
 #include <rte_flow.h>
 #include <stdbool.h>
 
-- 
2.25.1