summaryrefslogtreecommitdiff
path: root/drivers/bus/pci/private.h
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2018-05-21 09:41:49 -0700
committerThomas Monjalon <thomas@monjalon.net>2018-06-27 22:53:34 +0200
commit607514e7298b686b44e67c8aaecd731a96507fba (patch)
tree792a2a9c08d219559442d95434b0d7ecb6c4f9f7 /drivers/bus/pci/private.h
parent3c5b140d18179f82e9de4a30c08980a173f84a5a (diff)
downloaddpdk-607514e7298b686b44e67c8aaecd731a96507fba.zip
dpdk-607514e7298b686b44e67c8aaecd731a96507fba.tar.gz
dpdk-607514e7298b686b44e67c8aaecd731a96507fba.tar.xz
bus/pci: make remove function static
Only used in one file, and therefore can be made static. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Gaetan Rivet <gaetan.rivet@6wind.com>
Diffstat (limited to 'drivers/bus/pci/private.h')
-rw-r--r--drivers/bus/pci/private.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/bus/pci/private.h b/drivers/bus/pci/private.h
index 88fa587..02e2fb4 100644
--- a/drivers/bus/pci/private.h
+++ b/drivers/bus/pci/private.h
@@ -94,16 +94,6 @@ void rte_pci_insert_device(struct rte_pci_device *exist_pci_dev,
struct rte_pci_device *new_pci_dev);
/**
- * Remove a PCI device from the PCI Bus. This sets to NULL the bus references
- * in the PCI device object as well as the generic device object.
- *
- * @param pci_device
- * PCI device to be removed from PCI Bus
- * @return void
- */
-void rte_pci_remove_device(struct rte_pci_device *pci_device);
-
-/**
* Update a pci device object by asking the kernel for the latest information.
*
* This function is private to EAL.