From: Rami Rosen Date: Tue, 7 Aug 2018 19:09:14 +0000 (+0300) Subject: bus/pci: remove useless forward declaration X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=40ee5c60f036703ff25545298afac46e5c3848b2;p=dpdk.git bus/pci: remove useless forward declaration This patch removes the forward declaration of rte_pci_remove_device() method. In the past, this forward decalaration was needed for rte_pci_detach(), which is now removed from pci_common.c. Fixes: e690338a7b85 ("bus/pci: remove unused function to detach by address") Signed-off-by: Rami Rosen --- diff --git a/drivers/bus/pci/pci_common.c b/drivers/bus/pci/pci_common.c index b3879a9ade..7736b3f9cf 100644 --- a/drivers/bus/pci/pci_common.c +++ b/drivers/bus/pci/pci_common.c @@ -27,8 +27,6 @@ #include "private.h" -static void rte_pci_remove_device(struct rte_pci_device *pci_device); - extern struct rte_pci_bus rte_pci_bus; #define SYSFS_PCI_DEVICES "/sys/bus/pci/devices"