]> git.droids-corp.org - dpdk.git/commitdiff
eal: remove unneeded header includes
authorSean Morrissey <sean.morrissey@intel.com>
Mon, 20 Jun 2022 10:40:18 +0000 (10:40 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 21 Jun 2022 14:46:56 +0000 (16:46 +0200)
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
lib/eal/common/eal_common_launch.c
lib/eal/common/eal_common_log.c
lib/eal/linux/eal_thread.c
lib/eal/unix/eal_filesystem.c

index 3cef43a4f706711a1ca62a2b1ed4755cd137b11a..0daf0f3188ba17c0d3d4f3e0b9cf417c837f95a4 100644 (file)
@@ -1,7 +1,6 @@
 /* SPDX-License-Identifier: BSD-3-Clause
  * Copyright(c) 2020 Mellanox Technologies, Ltd
  */
-#include <string.h>
 
 #include <rte_string_fns.h>
 
index 992f8e4631d132375c68cad0bf010816a9b74505..462c886e30c0d18fc8cc3d56e5bae30c60c85ba4 100644 (file)
@@ -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>
 
index d57dca9785a3c14a187c4f88587edb6c7dc87a5a..bd7b188ceb4aa9dbc8433eaf278d1f6853af0004 100644 (file)
@@ -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"
index 820cc905e08c84771ae775e9d9159717b3743fc8..625bde633dedfe7d4e93a5a4c2bc3a2a19193534 100644 (file)
@@ -4,21 +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)
 {
index 094a2bf7e4dc874289d5af48fb26f360f01a7505..afbab9368ab5037c6d6bc3af2ac1d3ae6b43e3da 100644 (file)
 #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"