DPDK patches and discussions
 help / color / mirror / Atom feed
From: Sean Morrissey <sean.morrissey@intel.com>
To: Anatoly Burakov <anatoly.burakov@intel.com>
Cc: dev@dpdk.org, Sean Morrissey <sean.morrissey@intel.com>
Subject: [PATCH v2 02/19] eal: remove unneeded header includes
Date: Thu, 16 Jun 2022 15:17:10 +0000	[thread overview]
Message-ID: <20220616151728.339629-3-sean.morrissey@intel.com> (raw)
In-Reply-To: <20220616151728.339629-1-sean.morrissey@intel.com>

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.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


  parent reply	other threads:[~2022-06-16 15:18 UTC|newest]

Thread overview: 82+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-21 19:08 [PATCH v1 00/19] remove IWYU flagged headers Sean Morrissey
2022-04-21 19:08 ` [PATCH v1 01/19] cmdline: remove unneeded header includes Sean Morrissey
2022-04-21 19:08 ` [PATCH v1 02/19] eal: " Sean Morrissey
2022-04-21 19:08 ` [PATCH v1 03/19] ethdev: " Sean Morrissey
2022-04-21 19:08 ` [PATCH v1 04/19] gpudev: " Sean Morrissey
2022-04-21 19:08 ` [PATCH v1 05/19] gso: " Sean Morrissey
2022-04-21 19:08 ` [PATCH v1 06/19] hash: " Sean Morrissey
2022-04-21 19:08 ` [PATCH v1 07/19] ip_frag: " Sean Morrissey
2022-04-21 19:08 ` [PATCH v1 08/19] jobstats: " Sean Morrissey
2022-04-21 19:08 ` [PATCH v1 09/19] mempool: " Sean Morrissey
2022-04-21 19:08 ` [PATCH v1 10/19] meter: " Sean Morrissey
2022-04-21 19:08 ` [PATCH v1 11/19] net: " Sean Morrissey
2022-04-21 19:08 ` [PATCH v1 12/19] power: " Sean Morrissey
2022-04-21 19:08 ` [PATCH v1 13/19] rawdev: " Sean Morrissey
2022-04-22  4:51   ` Hemant Agrawal
2022-04-21 19:08 ` [PATCH v1 14/19] regexdev: " Sean Morrissey
2022-04-21 19:08 ` [PATCH v1 15/19] sched: " Sean Morrissey
2022-04-21 19:08 ` [PATCH v1 16/19] stack: " Sean Morrissey
2022-04-21 20:10   ` Stephen Hemminger
2022-04-21 19:08 ` [PATCH v1 17/19] table: " Sean Morrissey
2022-04-21 20:09   ` Stephen Hemminger
2022-04-21 19:08 ` [PATCH v1 18/19] timer: " Sean Morrissey
2022-04-21 20:08   ` Stephen Hemminger
2022-04-22  8:44     ` Morrissey, Sean
2022-04-21 19:08 ` [PATCH v1 19/19] vhost: " Sean Morrissey
2022-06-16 15:17 ` [PATCH v2 00/19] remove IWYU flagged headers Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 01/19] cmdline: remove unneeded header includes Sean Morrissey
2022-06-16 15:17   ` Sean Morrissey [this message]
2022-06-16 15:17   ` [PATCH v2 03/19] ethdev: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 04/19] gpudev: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 05/19] gso: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 06/19] hash: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 07/19] ip_frag: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 08/19] jobstats: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 09/19] mempool: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 10/19] meter: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 11/19] net: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 12/19] power: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 13/19] rawdev: " Sean Morrissey
2022-06-17  4:21     ` Hemant Agrawal
2022-06-16 15:17   ` [PATCH v2 14/19] regexdev: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 15/19] sched: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 16/19] stack: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 17/19] table: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 18/19] timer: " Sean Morrissey
2022-06-16 15:17   ` [PATCH v2 19/19] vhost: " Sean Morrissey
2022-06-17 19:08   ` [PATCH v3 00/18] remove IWYU flagged headers Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 01/18] cmdline: remove unneeded header includes Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 02/18] eal: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 03/18] ethdev: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 04/18] gpudev: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 05/18] gso: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 06/18] hash: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 07/18] ip_frag: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 08/18] jobstats: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 09/18] meter: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 10/18] net: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 11/18] power: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 12/18] rawdev: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 13/18] regexdev: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 14/18] sched: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 15/18] stack: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 16/18] table: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 17/18] timer: " Sean Morrissey
2022-06-17 19:08     ` [PATCH v3 18/18] vhost: " Sean Morrissey
2022-06-20  1:42       ` Xia, Chenbo
2022-06-20 10:40     ` [PATCH v4 00/14] remove IWYU flagged headers Sean Morrissey
2022-06-20 10:40       ` [PATCH v4 01/14] cmdline: remove unneeded header includes Sean Morrissey
2022-06-20 10:40       ` [PATCH v4 02/14] eal: " Sean Morrissey
2022-06-20 10:40       ` [PATCH v4 03/14] ethdev: " Sean Morrissey
2022-06-20 10:40       ` [PATCH v4 04/14] gpudev: " Sean Morrissey
2022-06-20 10:40       ` [PATCH v4 05/14] gso: " Sean Morrissey
2022-06-20 10:40       ` [PATCH v4 06/14] hash: " Sean Morrissey
2022-06-20 10:40       ` [PATCH v4 07/14] jobstats: " Sean Morrissey
2022-06-20 10:40       ` [PATCH v4 08/14] meter: " Sean Morrissey
2022-06-20 10:40       ` [PATCH v4 09/14] net: " Sean Morrissey
2022-06-20 10:40       ` [PATCH v4 10/14] power: " Sean Morrissey
2022-06-20 10:40       ` [PATCH v4 11/14] rawdev: " Sean Morrissey
2022-06-20 10:40       ` [PATCH v4 12/14] sched: " Sean Morrissey
2022-06-20 10:40       ` [PATCH v4 13/14] timer: " Sean Morrissey
2022-06-20 10:40       ` [PATCH v4 14/14] vhost: " Sean Morrissey
2022-06-21 14:48       ` [PATCH v4 00/14] remove IWYU flagged headers Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220616151728.339629-3-sean.morrissey@intel.com \
    --to=sean.morrissey@intel.com \
    --cc=anatoly.burakov@intel.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).