]> git.droids-corp.org - dpdk.git/commitdiff
ethdev: remove unneeded header includes
authorSean Morrissey <sean.morrissey@intel.com>
Mon, 20 Jun 2022 10:40:19 +0000 (10:40 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 21 Jun 2022 14:46:56 +0000 (16:46 +0200)
These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
lib/ethdev/rte_class_eth.c
lib/ethdev/rte_ethdev.c
lib/ethdev/rte_ethdev.h
lib/ethdev/rte_flow.c
lib/ethdev/rte_flow.h
lib/ethdev/rte_mtr.c

index c8e8fc92448af684d959de11d4969d0855060b4c..3be84dd45c46d36deb1f673260295df1aa975c27 100644 (file)
@@ -5,13 +5,11 @@
 #include <string.h>
 
 #include <rte_class.h>
-#include <rte_compat.h>
 #include <rte_errno.h>
 #include <rte_kvargs.h>
 #include <rte_log.h>
 
 #include "rte_ethdev.h"
-#include "rte_ethdev_core.h"
 #include "ethdev_driver.h"
 #include "ethdev_private.h"
 
index 90e50eb02b504346b132709032b8e61281e1e083..1979dc085098927632b32cd127b51faf33860f92 100644 (file)
 #include <string.h>
 #include <sys/queue.h>
 
-#include <rte_byteorder.h>
 #include <rte_log.h>
-#include <rte_debug.h>
 #include <rte_interrupts.h>
-#include <rte_memory.h>
 #include <rte_memcpy.h>
-#include <rte_memzone.h>
-#include <rte_launch.h>
-#include <rte_eal.h>
-#include <rte_per_lcore.h>
-#include <rte_lcore.h>
-#include <rte_branch_prediction.h>
 #include <rte_common.h>
 #include <rte_mempool.h>
 #include <rte_malloc.h>
index 045ee64747d7a99f3a7e31c772db69d638aa431b..de9e970d4d11eb2409da73ac89c438df50fbe79b 100644 (file)
@@ -169,7 +169,6 @@ extern "C" {
 #include <rte_errno.h>
 #include <rte_common.h>
 #include <rte_config.h>
-#include <rte_ether.h>
 #include <rte_power_intrinsics.h>
 
 #include "rte_ethdev_trace_fp.h"
index 2c35a2f13e5235241ac5d62355e7fdf21e45a32f..501be9d6027925002a62d137e44ee77dd98fbab5 100644 (file)
@@ -6,13 +6,11 @@
 #include <errno.h>
 #include <stddef.h>
 #include <stdint.h>
-#include <string.h>
 
 #include <rte_common.h>
 #include <rte_errno.h>
 #include <rte_branch_prediction.h>
 #include <rte_string_fns.h>
-#include <rte_mbuf.h>
 #include <rte_mbuf_dyn.h>
 #include "rte_ethdev.h"
 #include "rte_flow_driver.h"
index 1b56f23cba78416f9df6e6d039bc4d3e6b2f4054..a79f1e7ef08d6cc5439ee60c5fb222beb7258fd5 100644 (file)
@@ -17,7 +17,6 @@
 #include <stddef.h>
 #include <stdint.h>
 
-#include <rte_arp.h>
 #include <rte_common.h>
 #include <rte_ether.h>
 #include <rte_icmp.h>
 #include <rte_tcp.h>
 #include <rte_udp.h>
 #include <rte_vxlan.h>
-#include <rte_byteorder.h>
 #include <rte_esp.h>
 #include <rte_higig.h>
 #include <rte_ecpri.h>
 #include <rte_bitops.h>
-#include <rte_mbuf.h>
 #include <rte_mbuf_dyn.h>
 #include <rte_meter.h>
 #include <rte_gtp.h>
index 441ea1dca9e5bab569325c406c7befcf74bb408f..c460e4f4e0ffa35be429b2f84f94abff8176b082 100644 (file)
@@ -5,7 +5,6 @@
 #include <stdint.h>
 
 #include <rte_errno.h>
-#include "rte_compat.h"
 #include "rte_ethdev.h"
 #include "rte_mtr_driver.h"
 #include "rte_mtr.h"