diff mbox series

[v3,3/5] lib/ring: remove unneeded header includes

Message ID 20211007102557.188739-4-sean.morrissey@intel.com (mailing list archive)
State New
Delegated to: Thomas Monjalon
Headers show
Series introduce IWYU | expand

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Sean Morrissey Oct. 7, 2021, 10:25 a.m. UTC
These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/ring/rte_ring.c | 7 -------
 1 file changed, 7 deletions(-)

Comments

Ananyev, Konstantin Oct. 7, 2021, 12:17 p.m. UTC | #1
> 
> These header includes have been flagged by the iwyu_tool
> and removed.
> 
> Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
> ---
>  lib/ring/rte_ring.c | 7 -------
>  1 file changed, 7 deletions(-)
> 
> diff --git a/lib/ring/rte_ring.c b/lib/ring/rte_ring.c
> index f17bd966be..bb95962b0c 100644
> --- a/lib/ring/rte_ring.c
> +++ b/lib/ring/rte_ring.c
> @@ -17,16 +17,9 @@
> 
>  #include <rte_common.h>
>  #include <rte_log.h>
> -#include <rte_memory.h>
>  #include <rte_memzone.h>
>  #include <rte_malloc.h>
> -#include <rte_launch.h>
> -#include <rte_eal.h>
>  #include <rte_eal_memconfig.h>
> -#include <rte_atomic.h>
> -#include <rte_per_lcore.h>
> -#include <rte_lcore.h>
> -#include <rte_branch_prediction.h>
>  #include <rte_errno.h>
>  #include <rte_string_fns.h>
>  #include <rte_spinlock.h>
> --

Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>

> 2.25.1
diff mbox series

Patch

diff --git a/lib/ring/rte_ring.c b/lib/ring/rte_ring.c
index f17bd966be..bb95962b0c 100644
--- a/lib/ring/rte_ring.c
+++ b/lib/ring/rte_ring.c
@@ -17,16 +17,9 @@ 
 
 #include <rte_common.h>
 #include <rte_log.h>
-#include <rte_memory.h>
 #include <rte_memzone.h>
 #include <rte_malloc.h>
-#include <rte_launch.h>
-#include <rte_eal.h>
 #include <rte_eal_memconfig.h>
-#include <rte_atomic.h>
-#include <rte_per_lcore.h>
-#include <rte_lcore.h>
-#include <rte_branch_prediction.h>
 #include <rte_errno.h>
 #include <rte_string_fns.h>
 #include <rte_spinlock.h>