[PATCH v7 21/50] pci: remove unneeded header includes
Sean Morrissey
sean.morrissey at intel.com
Mon Feb 14 12:36:03 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/pci/rte_pci.c | 15 +--------------
lib/pci/rte_pci.h | 1 -
2 files changed, 1 insertion(+), 15 deletions(-)
diff --git a/lib/pci/rte_pci.c b/lib/pci/rte_pci.c
index c91be8b167..355772ff56 100644
--- a/lib/pci/rte_pci.c
+++ b/lib/pci/rte_pci.c
@@ -3,23 +3,10 @@
* Copyright 2013-2014 6WIND S.A.
*/
-#include <string.h>
-#include <inttypes.h>
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
-#include <sys/queue.h>
-
-#include <rte_errno.h>
-#include <rte_interrupts.h>
-#include <rte_log.h>
-#include <rte_bus.h>
-#include <rte_eal_paging.h>
-#include <rte_per_lcore.h>
-#include <rte_memory.h>
-#include <rte_eal.h>
-#include <rte_string_fns.h>
-#include <rte_common.h>
+
#include <rte_debug.h>
#include "rte_pci.h"
diff --git a/lib/pci/rte_pci.h b/lib/pci/rte_pci.h
index 71cbd441c7..5088157e74 100644
--- a/lib/pci/rte_pci.h
+++ b/lib/pci/rte_pci.h
@@ -17,7 +17,6 @@ extern "C" {
#endif
#include <stdio.h>
-#include <limits.h>
#include <inttypes.h>
#include <sys/types.h>
--
2.25.1
More information about the dev
mailing list