summaryrefslogtreecommitdiff
path: root/drivers/bus/pci/private.h
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2018-05-17 16:44:58 -0700
committerThomas Monjalon <thomas@monjalon.net>2018-06-27 22:53:55 +0200
commitf3bac43b60da6ae78cbef50ecded8be1df62c472 (patch)
tree04b698cfb1908f071e64b62d963d79700a074a80 /drivers/bus/pci/private.h
parent5417dfc984cd40114ac86a4b416ab20df0305392 (diff)
downloaddpdk-f3bac43b60da6ae78cbef50ecded8be1df62c472.zip
dpdk-f3bac43b60da6ae78cbef50ecded8be1df62c472.tar.gz
dpdk-f3bac43b60da6ae78cbef50ecded8be1df62c472.tar.xz
bus/pci: remove unused function to probe by address
The function rte_pci_probe_one is private to PCI and is not used anywhere in current code base. Remove dead code. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
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 680879e..353a1ab 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);
/**
- * Probe the single PCI device.
- *
- * Scan the content of the PCI bus, and find the pci device specified by pci
- * address, then call the probe() 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 probe.
- * @return
- * - 0 on success.
- * - Negative on error.
- */
-int rte_pci_probe_one(const struct rte_pci_addr *addr);
-
-/**
* Close the single PCI device.
*
* Scan the content of the PCI bus, and find the pci device specified by pci