From fd9014a1846d832dfa91e0a7b3495d7954863f5d Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Thu, 19 May 2016 19:19:41 +0200 Subject: [PATCH] Remove unused PCI code Change-Id: I1d91c9982823758059f9d6aa699982253930e7ba Signed-off-by: Damjan Marion --- vlib/vlib/pci/linux_pci.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/vlib/vlib/pci/linux_pci.c b/vlib/vlib/pci/linux_pci.c index 65b41116789..757f2aa5fa2 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. */ -- 2.16.6