From: David Marchand Date: Thu, 23 Jul 2015 07:15:32 +0000 (+0200) Subject: eal: remove useless PCI id header inclusions X-Git-Tag: spdx-start~8643 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=2b9fb6319d8bed13f15b3ecac2c738b94ca5565b;p=dpdk.git eal: remove useless PCI id header inclusions Signed-off-by: David Marchand [Thomas: move inclusion used by ixgbe bypass] Acked-by: Thomas Monjalon --- diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 8ab4687065..b9d844cda1 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -84,7 +84,6 @@ #include #include #include -#include #ifdef RTE_LIBRTE_PMD_BOND #include #endif @@ -9082,6 +9081,7 @@ cmd_reconfig_device_queue(portid_t id, uint8_t dev, uint8_t queue) } #ifdef RTE_NIC_BYPASS +#include uint8_t bypass_is_supported(portid_t port_id) { diff --git a/lib/librte_eal/bsdapp/eal/eal_pci.c b/lib/librte_eal/bsdapp/eal/eal_pci.c index ed312229a6..524c1535f1 100644 --- a/lib/librte_eal/bsdapp/eal/eal_pci.c +++ b/lib/librte_eal/bsdapp/eal/eal_pci.c @@ -67,7 +67,6 @@ #include #include -#include "rte_pci_dev_ids.h" #include "eal_filesystem.h" #include "eal_private.h" diff --git a/lib/librte_eal/linuxapp/eal/eal_pci.c b/lib/librte_eal/linuxapp/eal/eal_pci.c index 9a28ede9c9..5ac15713f4 100644 --- a/lib/librte_eal/linuxapp/eal/eal_pci.c +++ b/lib/librte_eal/linuxapp/eal/eal_pci.c @@ -41,7 +41,6 @@ #include #include -#include "rte_pci_dev_ids.h" #include "eal_filesystem.h" #include "eal_private.h" #include "eal_pci_init.h" diff --git a/lib/librte_eal/linuxapp/eal/eal_pci_uio.c b/lib/librte_eal/linuxapp/eal/eal_pci_uio.c index c35feb4a51..8bbcef00ea 100644 --- a/lib/librte_eal/linuxapp/eal/eal_pci_uio.c +++ b/lib/librte_eal/linuxapp/eal/eal_pci_uio.c @@ -45,7 +45,6 @@ #include #include -#include "rte_pci_dev_ids.h" #include "eal_filesystem.h" #include "eal_pci_init.h"