[v4,02/14] 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/linux/eal_thread.c | 6 ------
lib/eal/unix/eal_filesystem.c | 2 --
5 files changed, 11 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"
@@ -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)
@@ -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"