[PATCH v6 23/50] node: remove unneeded header includes
Sean Morrissey
sean.morrissey at intel.com
Wed Feb 2 10:47:35 CET 2022
These header includes have been flagged by the iwyu_tool
and removed.
Signed-off-by: Sean Morrissey <sean.morrissey at 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
More information about the dev
mailing list