These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey <sean.morris...@intel.com> --- lib/eal/common/eal_common_config.c | 1 - lib/eal/common/eal_common_launch.c | 1 - lib/eal/common/eal_common_log.c | 1 - lib/eal/linux/eal.c | 1 - lib/eal/linux/eal_thread.c | 6 ------ lib/eal/linux/eal_vfio.c | 1 - lib/eal/unix/eal_filesystem.c | 2 -- 7 files changed, 13 deletions(-)
diff --git a/lib/eal/common/eal_common_config.c b/lib/eal/common/eal_common_config.c index 3cef43a4f7..0daf0f3188 100644 --- a/lib/eal/common/eal_common_config.c +++ b/lib/eal/common/eal_common_config.c @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2020 Mellanox Technologies, Ltd */ -#include <string.h> #include <rte_string_fns.h> diff --git a/lib/eal/common/eal_common_launch.c b/lib/eal/common/eal_common_launch.c index 992f8e4631..462c886e30 100644 --- a/lib/eal/common/eal_common_launch.c +++ b/lib/eal/common/eal_common_launch.c @@ -6,7 +6,6 @@ #include <rte_launch.h> #include <rte_eal_trace.h> -#include <rte_atomic.h> #include <rte_pause.h> #include <rte_lcore.h> diff --git a/lib/eal/common/eal_common_log.c b/lib/eal/common/eal_common_log.c index d57dca9785..bd7b188ceb 100644 --- a/lib/eal/common/eal_common_log.c +++ b/lib/eal/common/eal_common_log.c @@ -13,7 +13,6 @@ #include <sys/queue.h> #include <rte_log.h> -#include <rte_os_shim.h> #include <rte_per_lcore.h> #include "eal_log.h" diff --git a/lib/eal/linux/eal.c b/lib/eal/linux/eal.c index 1ef263434a..1390b6cf47 100644 --- a/lib/eal/linux/eal.c +++ b/lib/eal/linux/eal.c @@ -34,7 +34,6 @@ #include <rte_service_component.h> #include <rte_log.h> #include <rte_string_fns.h> -#include <rte_cpuflags.h> #include <rte_bus.h> #include <rte_version.h> #include <malloc_heap.h> diff --git a/lib/eal/linux/eal_thread.c b/lib/eal/linux/eal_thread.c index 820cc905e0..e9294127d1 100644 --- a/lib/eal/linux/eal_thread.c +++ b/lib/eal/linux/eal_thread.c @@ -4,20 +4,14 @@ #include <errno.h> #include <stdio.h> -#include <stdint.h> #include <unistd.h> #include <pthread.h> #include <sys/syscall.h> -#include <rte_debug.h> -#include <rte_launch.h> -#include <rte_log.h> #include <rte_eal.h> #include <rte_lcore.h> #include <rte_string_fns.h> -#include "eal_private.h" -#include "eal_thread.h" /* require calling thread tid by gettid() */ int rte_sys_gettid(void) diff --git a/lib/eal/linux/eal_vfio.c b/lib/eal/linux/eal_vfio.c index 549b86ae1d..c4fd7d63b0 100644 --- a/lib/eal/linux/eal_vfio.c +++ b/lib/eal/linux/eal_vfio.c @@ -15,7 +15,6 @@ #include <rte_vfio.h> #include "eal_filesystem.h" -#include "eal_memcfg.h" #include "eal_vfio.h" #include "eal_private.h" #include "eal_internal_cfg.h" diff --git a/lib/eal/unix/eal_filesystem.c b/lib/eal/unix/eal_filesystem.c index 094a2bf7e4..afbab9368a 100644 --- a/lib/eal/unix/eal_filesystem.c +++ b/lib/eal/unix/eal_filesystem.c @@ -10,10 +10,8 @@ #include <stdlib.h> #include <string.h> #include <sys/stat.h> -#include <sys/types.h> #include <unistd.h> -#include <rte_common.h> #include <rte_log.h> #include "eal_private.h" -- 2.25.1