[v4,03/14] ethdev: remove unneeded header includes
Checks
Commit Message
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 | 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(-)
@@ -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"
@@ -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>
@@ -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"
@@ -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"
@@ -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>
@@ -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"