These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey <sean.morris...@intel.com> --- lib/net/net_crc_avx512.c | 3 --- lib/net/net_crc_sse.c | 1 - lib/net/rte_arp.c | 1 - lib/net/rte_ether.h | 1 - lib/net/rte_net_crc.c | 2 -- 5 files changed, 8 deletions(-)
diff --git a/lib/net/net_crc_avx512.c b/lib/net/net_crc_avx512.c index 3740fe3c9d..f6a3ce9bcd 100644 --- a/lib/net/net_crc_avx512.c +++ b/lib/net/net_crc_avx512.c @@ -2,11 +2,8 @@ * Copyright(c) 2020 Intel Corporation */ -#include <string.h> #include <rte_common.h> -#include <rte_branch_prediction.h> -#include <rte_cpuflags.h> #include "net_crc.h" diff --git a/lib/net/net_crc_sse.c b/lib/net/net_crc_sse.c index 053b54b390..dd75845636 100644 --- a/lib/net/net_crc_sse.c +++ b/lib/net/net_crc_sse.c @@ -6,7 +6,6 @@ #include <rte_common.h> #include <rte_branch_prediction.h> -#include <rte_cpuflags.h> #include "net_crc.h" diff --git a/lib/net/rte_arp.c b/lib/net/rte_arp.c index 9f7eb6b375..22af519586 100644 --- a/lib/net/rte_arp.c +++ b/lib/net/rte_arp.c @@ -3,7 +3,6 @@ */ #include <rte_arp.h> -#include <rte_byteorder.h> #define RARP_PKT_SIZE 64 struct rte_mbuf * diff --git a/lib/net/rte_ether.h b/lib/net/rte_ether.h index 3d9852d9e2..bf8a55ba06 100644 --- a/lib/net/rte_ether.h +++ b/lib/net/rte_ether.h @@ -18,7 +18,6 @@ extern "C" { #include <stdint.h> #include <stdio.h> -#include <rte_memcpy.h> #include <rte_random.h> #include <rte_mbuf.h> #include <rte_byteorder.h> diff --git a/lib/net/rte_net_crc.c b/lib/net/rte_net_crc.c index d9a526ab7b..a685f9e7bb 100644 --- a/lib/net/rte_net_crc.c +++ b/lib/net/rte_net_crc.c @@ -3,13 +3,11 @@ */ #include <stddef.h> -#include <string.h> #include <stdint.h> #include <rte_cpuflags.h> #include <rte_common.h> #include <rte_net_crc.h> -#include <rte_eal.h> #include <rte_log.h> #include <rte_vect.h> -- 2.25.1