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

Chenbo Xia chenbo.xia at intel.com
Sat Sep 18 04:24:40 CEST 2021


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 <chenbo.xia at intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit at intel.com>
---
 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



More information about the dev mailing list