DPDK patches and discussions
 help / color / mirror / Atom feed
From: Sean Morrissey <sean.morrissey@intel.com>
To: Olivier Matz <olivier.matz@6wind.com>
Cc: dev@dpdk.org, Sean Morrissey <sean.morrissey@intel.com>
Subject: [PATCH v3 01/18] cmdline: remove unneeded header includes
Date: Fri, 17 Jun 2022 19:08:18 +0000	[thread overview]
Message-ID: <20220617190835.1126602-2-sean.morrissey@intel.com> (raw)
In-Reply-To: <20220617190835.1126602-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/cmdline/cmdline_cirbuf.h    | 1 -
 lib/cmdline/cmdline_parse_num.c | 3 ---
 lib/cmdline/cmdline_socket.c    | 4 ----
 lib/cmdline/cmdline_socket.h    | 1 -
 4 files changed, 9 deletions(-)

diff --git a/lib/cmdline/cmdline_cirbuf.h b/lib/cmdline/cmdline_cirbuf.h
index c23b211ad4..c58fdabf00 100644
--- a/lib/cmdline/cmdline_cirbuf.h
+++ b/lib/cmdline/cmdline_cirbuf.h
@@ -7,7 +7,6 @@
 #ifndef _CIRBUF_H_
 #define _CIRBUF_H_
 
-#include <rte_config.h>
 
 #ifdef __cplusplus
 extern "C" {
diff --git a/lib/cmdline/cmdline_parse_num.c b/lib/cmdline/cmdline_parse_num.c
index b37dd94ae9..820af071fb 100644
--- a/lib/cmdline/cmdline_parse_num.c
+++ b/lib/cmdline/cmdline_parse_num.c
@@ -7,10 +7,7 @@
 #include <stdio.h>
 #include <stdint.h>
 #include <inttypes.h>
-#include <ctype.h>
 #include <string.h>
-#include <stdarg.h>
-#include <errno.h>
 #include <rte_string_fns.h>
 
 #include "cmdline_parse.h"
diff --git a/lib/cmdline/cmdline_socket.c b/lib/cmdline/cmdline_socket.c
index ebd5343754..78fb67c474 100644
--- a/lib/cmdline/cmdline_socket.c
+++ b/lib/cmdline/cmdline_socket.c
@@ -5,11 +5,7 @@
  */
 
 #include <stdio.h>
-#include <string.h>
 #include <unistd.h>
-#include <stdlib.h>
-#include <stdarg.h>
-#include <inttypes.h>
 #include <fcntl.h>
 
 #include "cmdline.h"
diff --git a/lib/cmdline/cmdline_socket.h b/lib/cmdline/cmdline_socket.h
index 80542e5599..a9c4ea26ad 100644
--- a/lib/cmdline/cmdline_socket.h
+++ b/lib/cmdline/cmdline_socket.h
@@ -8,7 +8,6 @@
 #define _CMDLINE_SOCKET_H_
 
 #include <cmdline_parse.h>
-#include <cmdline.h>
 
 #ifdef __cplusplus
 extern "C" {
-- 
2.25.1


  reply	other threads:[~2022-06-17 19:08 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   ` [PATCH v2 02/19] eal: " Sean Morrissey
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     ` Sean Morrissey [this message]
2022-06-17 19:08     ` [PATCH v3 02/18] eal: remove unneeded header includes 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=20220617190835.1126602-2-sean.morrissey@intel.com \
    --to=sean.morrissey@intel.com \
    --cc=dev@dpdk.org \
    --cc=olivier.matz@6wind.com \
    /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).