summaryrefslogtreecommitdiff
path: root/drivers/bus/pci/private.h
diff options
context:
space:
mode:
authorRami Rosen <rami.rosen@intel.com>2018-05-20 22:52:58 +0300
committerThomas Monjalon <thomas@monjalon.net>2018-06-27 22:54:08 +0200
commite690338a7b8549679deb257c3a3f576fb900d509 (patch)
treecde4ae913299c6e3ba18b984e8cc412eac012022 /drivers/bus/pci/private.h
parentf3bac43b60da6ae78cbef50ecded8be1df62c472 (diff)
downloaddpdk-e690338a7b8549679deb257c3a3f576fb900d509.zip
dpdk-e690338a7b8549679deb257c3a3f576fb900d509.tar.gz
dpdk-e690338a7b8549679deb257c3a3f576fb900d509.tar.xz
bus/pci: remove unused function to detach by address
The function rte_pci_detach() is private to PCI and is not used anywhere in current code base. Remove dead code. Signed-off-by: Rami Rosen <rami.rosen@intel.com>
Diffstat (limited to 'drivers/bus/pci/private.h')
-rw-r--r--drivers/bus/pci/private.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/bus/pci/private.h b/drivers/bus/pci/private.h
index 353a1ab..8ddd03e 100644
--- a/drivers/bus/pci/private.h
+++ b/drivers/bus/pci/private.h
@@ -33,21 +33,6 @@ rte_pci_probe(void);
int rte_pci_scan(void);
/**
- * Close the single PCI device.
- *
- * Scan the content of the PCI bus, and find the pci device specified by pci
- * address, then call the remove() function for registered driver that has a
- * matching entry in its id_table for discovered device.
- *
- * @param addr
- * The PCI Bus-Device-Function address to close.
- * @return
- * - 0 on success.
- * - Negative on error.
- */
-int rte_pci_detach(const struct rte_pci_addr *addr);
-
-/**
* Find the name of a PCI device.
*/
void