[PATCH v5 31/50] kni: remove unneeded header includes
Sean Morrissey
sean.morrissey at intel.com
Mon Jan 17 21:19:24 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/kni/rte_kni.c | 2 --
lib/kni/rte_kni.h | 2 --
2 files changed, 4 deletions(-)
diff --git a/lib/kni/rte_kni.c b/lib/kni/rte_kni.c
index fc8f0e7b5a..7971c56bb4 100644
--- a/lib/kni/rte_kni.c
+++ b/lib/kni/rte_kni.c
@@ -12,7 +12,6 @@
#include <sys/ioctl.h>
#include <linux/version.h>
-#include <rte_spinlock.h>
#include <rte_string_fns.h>
#include <rte_ethdev.h>
#include <rte_malloc.h>
@@ -20,7 +19,6 @@
#include <rte_kni.h>
#include <rte_memzone.h>
#include <rte_tailq.h>
-#include <rte_rwlock.h>
#include <rte_eal_memconfig.h>
#include <rte_kni_common.h>
#include "rte_kni_fifo.h"
diff --git a/lib/kni/rte_kni.h b/lib/kni/rte_kni.h
index b0eaf46104..b85d3dd32b 100644
--- a/lib/kni/rte_kni.h
+++ b/lib/kni/rte_kni.h
@@ -18,8 +18,6 @@
*/
#include <rte_pci.h>
-#include <rte_memory.h>
-#include <rte_mempool.h>
#include <rte_ether.h>
#include <rte_kni_common.h>
--
2.25.1
More information about the dev
mailing list