[PATCH v8 15/50] rcu: remove unneeded header includes
Sean Morrissey
sean.morrissey at intel.com
Mon Feb 14 15:43:31 CET 2022
These header includes have been flagged by the iwyu_tool
and removed.
Signed-off-by: Sean Morrissey <sean.morrissey at intel.com>
---
lib/rcu/rte_rcu_qsbr.c | 4 ----
lib/rcu/rte_rcu_qsbr.h | 4 ----
2 files changed, 8 deletions(-)
diff --git a/lib/rcu/rte_rcu_qsbr.c b/lib/rcu/rte_rcu_qsbr.c
index 7510db2f81..17be93e830 100644
--- a/lib/rcu/rte_rcu_qsbr.c
+++ b/lib/rcu/rte_rcu_qsbr.c
@@ -13,10 +13,6 @@
#include <rte_log.h>
#include <rte_memory.h>
#include <rte_malloc.h>
-#include <rte_eal.h>
-#include <rte_atomic.h>
-#include <rte_per_lcore.h>
-#include <rte_lcore.h>
#include <rte_errno.h>
#include <rte_ring_elem.h>
diff --git a/lib/rcu/rte_rcu_qsbr.h b/lib/rcu/rte_rcu_qsbr.h
index 62a420a785..d81bf5e8db 100644
--- a/lib/rcu/rte_rcu_qsbr.h
+++ b/lib/rcu/rte_rcu_qsbr.h
@@ -32,11 +32,7 @@ extern "C" {
#include <stdbool.h>
#include <stdio.h>
#include <stdint.h>
-#include <inttypes.h>
-#include <errno.h>
#include <rte_common.h>
-#include <rte_memory.h>
-#include <rte_lcore.h>
#include <rte_debug.h>
#include <rte_atomic.h>
#include <rte_ring.h>
--
2.25.1
More information about the dev
mailing list