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 C65A6A00C5;
	Wed,  2 Feb 2022 10:50:32 +0100 (CET)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 42BDD42731;
	Wed,  2 Feb 2022 10:49:08 +0100 (CET)
Received: from mga03.intel.com (mga03.intel.com [134.134.136.65])
 by mails.dpdk.org (Postfix) with ESMTP id 8EB49426F0
 for <dev@dpdk.org>; Wed,  2 Feb 2022 10:49:05 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;
 d=intel.com; i=@intel.com; q=dns/txt; s=Intel;
 t=1643795345; x=1675331345;
 h=from:to:cc:subject:date:message-id:in-reply-to:
 references:mime-version:content-transfer-encoding;
 bh=ZrW064G68NxYOzRJTEvAj3Q+sQxqzp8prYZi3RBmlI0=;
 b=nZENpphJ/W74v2GjNQrD0d4lS4BxeiShRymU4HHA07kooaQVbucfpdj7
 PLmAb0GkruNjTn783IcYXSbzQkeruri7U5pCeFGtS7z6lVU8sp9qDE2gq
 nrDUXJfnvnkBmvDqFE94kskDPwy912n2crtt2sn3sWb8racS3aSrJH51t
 i1yXQ+Wrhw0MJUffSuLLlAI7F2QOagbLFIUbyJTl9AZXo8+dM9e2pwVdh
 42r0tvVidswvttZeBIkIrMI1/2MDjgjy4fQObAjYysuWyOzGetk/i2ZaE
 iXLCe5GvL4V+l4KkRzaRXwjWfr4FPyNaND30clABD8dNs7TRJObGP5vPD Q==;
X-IronPort-AV: E=McAfee;i="6200,9189,10245"; a="247832201"
X-IronPort-AV: E=Sophos;i="5.88,336,1635231600"; d="scan'208";a="247832201"
Received: from orsmga008.jf.intel.com ([10.7.209.65])
 by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
 02 Feb 2022 01:48:50 -0800
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.88,336,1635231600"; d="scan'208";a="538182058"
Received: from silpixa00401215.ir.intel.com ([10.55.128.96])
 by orsmga008.jf.intel.com with ESMTP; 02 Feb 2022 01:48:49 -0800
From: Sean Morrissey <sean.morrissey@intel.com>
To: Nithin Dabilpuram <ndabilpuram@marvell.com>,
 Pavan Nikhilesh <pbhagavatula@marvell.com>
Cc: dev@dpdk.org,
	Sean Morrissey <sean.morrissey@intel.com>
Subject: [PATCH v6 23/50] node: remove unneeded header includes
Date: Wed,  2 Feb 2022 09:47:35 +0000
Message-Id: <20220202094802.3618978-24-sean.morrissey@intel.com>
X-Mailer: git-send-email 2.25.1
In-Reply-To: <20220202094802.3618978-1-sean.morrissey@intel.com>
References: <20220117201943.873922-1-sean.morrissey@intel.com>
 <20220202094802.3618978-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/node/ethdev_ctrl.c | 2 --
 lib/node/ethdev_rx.c   | 1 -
 lib/node/ethdev_tx.c   | 1 -
 lib/node/ip4_lookup.c  | 5 -----
 lib/node/ip4_rewrite.c | 4 ----
 lib/node/pkt_cls.c     | 4 ----
 lib/node/pkt_drop.c    | 1 -
 7 files changed, 18 deletions(-)

diff --git a/lib/node/ethdev_ctrl.c b/lib/node/ethdev_ctrl.c
index 13b8b705f0..5294607619 100644
--- a/lib/node/ethdev_ctrl.c
+++ b/lib/node/ethdev_ctrl.c
@@ -2,9 +2,7 @@
  * Copyright(C) 2020 Marvell International Ltd.
  */
 
-#include <rte_debug.h>
 #include <rte_ethdev.h>
-#include <rte_ether.h>
 #include <rte_graph.h>
 
 #include "rte_node_eth_api.h"
diff --git a/lib/node/ethdev_rx.c b/lib/node/ethdev_rx.c
index 4c23961505..a19237b42f 100644
--- a/lib/node/ethdev_rx.c
+++ b/lib/node/ethdev_rx.c
@@ -7,7 +7,6 @@
 #include <rte_ether.h>
 #include <rte_graph.h>
 #include <rte_graph_worker.h>
-#include <rte_mbuf.h>
 
 #include "ethdev_rx_priv.h"
 #include "node_private.h"
diff --git a/lib/node/ethdev_tx.c b/lib/node/ethdev_tx.c
index 075149089f..7d2d72f823 100644
--- a/lib/node/ethdev_tx.c
+++ b/lib/node/ethdev_tx.c
@@ -6,7 +6,6 @@
 #include <rte_ethdev.h>
 #include <rte_graph.h>
 #include <rte_graph_worker.h>
-#include <rte_mbuf.h>
 
 #include "ethdev_tx_priv.h"
 
diff --git a/lib/node/ip4_lookup.c b/lib/node/ip4_lookup.c
index d083a725fc..8bce03d7db 100644
--- a/lib/node/ip4_lookup.c
+++ b/lib/node/ip4_lookup.c
@@ -5,17 +5,12 @@
 #include <arpa/inet.h>
 #include <sys/socket.h>
 
-#include <rte_debug.h>
 #include <rte_ethdev.h>
 #include <rte_ether.h>
 #include <rte_graph.h>
 #include <rte_graph_worker.h>
 #include <rte_ip.h>
 #include <rte_lpm.h>
-#include <rte_mbuf.h>
-#include <rte_tcp.h>
-#include <rte_udp.h>
-#include <rte_vect.h>
 
 #include "rte_node_ip4_api.h"
 
diff --git a/lib/node/ip4_rewrite.c b/lib/node/ip4_rewrite.c
index 99ecb457ff..34a920df5e 100644
--- a/lib/node/ip4_rewrite.c
+++ b/lib/node/ip4_rewrite.c
@@ -2,16 +2,12 @@
  * Copyright(C) 2020 Marvell International Ltd.
  */
 
-#include <rte_debug.h>
 #include <rte_ethdev.h>
 #include <rte_ether.h>
 #include <rte_graph.h>
 #include <rte_graph_worker.h>
 #include <rte_ip.h>
 #include <rte_malloc.h>
-#include <rte_mbuf.h>
-#include <rte_tcp.h>
-#include <rte_udp.h>
 #include <rte_vect.h>
 
 #include "rte_node_ip4_api.h"
diff --git a/lib/node/pkt_cls.c b/lib/node/pkt_cls.c
index b95454dd72..3e75f2cf78 100644
--- a/lib/node/pkt_cls.c
+++ b/lib/node/pkt_cls.c
@@ -2,10 +2,6 @@
  * Copyright (C) 2020 Marvell.
  */
 
-#include <rte_debug.h>
-#include <rte_ether.h>
-#include <rte_ethdev.h>
-#include <rte_mbuf.h>
 #include <rte_graph.h>
 #include <rte_graph_worker.h>
 
diff --git a/lib/node/pkt_drop.c b/lib/node/pkt_drop.c
index c350013236..1ad7fccd28 100644
--- a/lib/node/pkt_drop.c
+++ b/lib/node/pkt_drop.c
@@ -2,7 +2,6 @@
  * Copyright(C) 2020 Marvell International Ltd.
  */
 
-#include <rte_debug.h>
 #include <rte_graph.h>
 #include <rte_mbuf.h>
 
-- 
2.25.1