Thread (59 messages) 59 messages, 10 authors, 2022-07-11

[dpdk-dev] [PATCH 4/8] examples/kni: remove unused PCI bus header

From: Chenbo Xia <hidden>
Date: 2021-09-10 02:38:12
Subsystem: the rest · Maintainer: Linus Torvalds

The header rte_bus_pci.h is included in kni example but nothing
in it is used. So remove it.

Signed-off-by: Chenbo Xia <redacted>
---
 examples/kni/main.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/examples/kni/main.c b/examples/kni/main.c
index beabb3c848..6dc335c0b5 100644
--- a/examples/kni/main.c
+++ b/examples/kni/main.c
@@ -31,7 +31,6 @@
 #include <rte_lcore.h>
 #include <rte_branch_prediction.h>
 #include <rte_interrupts.h>
-#include <rte_bus_pci.h>
 #include <rte_debug.h>
 #include <rte_ether.h>
 #include <rte_ethdev.h>
-- 
2.17.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help