These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey <sean.morris...@intel.com> --- lib/ethdev/rte_class_eth.c | 2 -- lib/ethdev/rte_ethdev.c | 9 --------- lib/ethdev/rte_ethdev.h | 1 - lib/ethdev/rte_flow.c | 2 -- lib/ethdev/rte_flow.h | 3 --- lib/ethdev/rte_mtr.c | 1 - 6 files changed, 18 deletions(-)
diff --git a/lib/ethdev/rte_class_eth.c b/lib/ethdev/rte_class_eth.c index c8e8fc9244..3be84dd45c 100644 --- a/lib/ethdev/rte_class_eth.c +++ b/lib/ethdev/rte_class_eth.c @@ -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" diff --git a/lib/ethdev/rte_ethdev.c b/lib/ethdev/rte_ethdev.c index 90e50eb02b..1979dc0850 100644 --- a/lib/ethdev/rte_ethdev.c +++ b/lib/ethdev/rte_ethdev.c @@ -11,18 +11,9 @@ #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> diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h index 045ee64747..de9e970d4d 100644 --- a/lib/ethdev/rte_ethdev.h +++ b/lib/ethdev/rte_ethdev.h @@ -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" diff --git a/lib/ethdev/rte_flow.c b/lib/ethdev/rte_flow.c index 2c35a2f13e..501be9d602 100644 --- a/lib/ethdev/rte_flow.c +++ b/lib/ethdev/rte_flow.c @@ -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" diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h index 1b56f23cba..a79f1e7ef0 100644 --- a/lib/ethdev/rte_flow.h +++ b/lib/ethdev/rte_flow.h @@ -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> @@ -26,12 +25,10 @@ #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> diff --git a/lib/ethdev/rte_mtr.c b/lib/ethdev/rte_mtr.c index 441ea1dca9..c460e4f4e0 100644 --- a/lib/ethdev/rte_mtr.c +++ b/lib/ethdev/rte_mtr.c @@ -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" -- 2.25.1