aboutsummaryrefslogtreecommitdiffstats
path: root/vlib
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2016-05-19 19:19:41 +0200
committerDave Barach <openvpp@barachs.net>2016-05-19 17:57:01 +0000
commitfd9014a1846d832dfa91e0a7b3495d7954863f5d (patch)
treed97398df24af5c428935549cc61466870c9a915e /vlib
parent1c80e831b728ab378949714d5059a0b5b1822a0a (diff)
Remove unused PCI code
Change-Id: I1d91c9982823758059f9d6aa699982253930e7ba Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vlib')
-rw-r--r--vlib/vlib/pci/linux_pci.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/vlib/vlib/pci/linux_pci.c b/vlib/vlib/pci/linux_pci.c
index 65b41116..757f2aa5 100644
--- a/vlib/vlib/pci/linux_pci.c
+++ b/vlib/vlib/pci/linux_pci.c
@@ -79,13 +79,6 @@ typedef struct {
extern linux_pci_main_t linux_pci_main;
-always_inline linux_pci_device_t *
-pci_dev_for_linux (vlib_pci_device_t * dev)
-{
- linux_pci_main_t * pm = &linux_pci_main;
- return pool_elt_at_index (pm->linux_pci_devices, dev->os_handle);
-}
-
/* Call to allocate/initialize the pci subsystem.
This is not an init function so that users can explicitly enable
pci only when it's needed. */