[v1,02/19] eal: 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/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/common/malloc_heap.h | 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 --
8 files changed, 14 deletions(-)
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2020 Mellanox Technologies, Ltd
*/
-#include <string.h>
#include <rte_string_fns.h>
@@ -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>
@@ -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"
@@ -9,7 +9,6 @@
#include <sys/queue.h>
#include <rte_malloc.h>
-#include <rte_spinlock.h>
/* Number of free lists per heap, grouped by size. */
#define RTE_HEAP_NUM_FREELISTS 13
@@ -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>
@@ -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)
@@ -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"
@@ -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"