diff mbox series

[v4,39/53] graph: remove unneeded header includes

Message ID 20220114162409.334437-40-sean.morrissey@intel.com (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers show
Series introduce IWYU | expand

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Sean Morrissey Jan. 14, 2022, 4:23 p.m. UTC
These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/graph/graph_debug.c    | 2 --
 lib/graph/graph_ops.c      | 1 -
 lib/graph/graph_populate.c | 2 --
 lib/graph/node.c           | 1 -
 4 files changed, 6 deletions(-)
diff mbox series

Patch

diff --git a/lib/graph/graph_debug.c b/lib/graph/graph_debug.c
index f8aea16acb..b84412f5dd 100644
--- a/lib/graph/graph_debug.c
+++ b/lib/graph/graph_debug.c
@@ -2,8 +2,6 @@ 
  * Copyright(C) 2020 Marvell International Ltd.
  */
 
-#include <rte_common.h>
-#include <rte_debug.h>
 
 #include "graph_private.h"
 
diff --git a/lib/graph/graph_ops.c b/lib/graph/graph_ops.c
index 3355953118..20db58d84e 100644
--- a/lib/graph/graph_ops.c
+++ b/lib/graph/graph_ops.c
@@ -5,7 +5,6 @@ 
 #include <stdbool.h>
 #include <string.h>
 
-#include <rte_common.h>
 #include <rte_errno.h>
 
 #include "graph_private.h"
diff --git a/lib/graph/graph_populate.c b/lib/graph/graph_populate.c
index 093512efab..102fd6c29b 100644
--- a/lib/graph/graph_populate.c
+++ b/lib/graph/graph_populate.c
@@ -2,8 +2,6 @@ 
  * Copyright(C) 2020 Marvell International Ltd.
  */
 
-#include <fnmatch.h>
-#include <stdbool.h>
 
 #include <rte_common.h>
 #include <rte_errno.h>
diff --git a/lib/graph/node.c b/lib/graph/node.c
index 86ec4316f9..79230035a2 100644
--- a/lib/graph/node.c
+++ b/lib/graph/node.c
@@ -8,7 +8,6 @@ 
 
 #include <rte_common.h>
 #include <rte_debug.h>
-#include <rte_eal.h>
 #include <rte_errno.h>
 #include <rte_string_fns.h>