summaryrefslogtreecommitdiffstats
path: root/vlib
diff options
context:
space:
mode:
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. */