summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-02-13 09:32:03 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2008-04-20 21:46:53 -0700
commit34220909a26b7f7cfc71e88ce01856c2563fe1d4 (patch)
treedeea265e6356cfeca3f835d4f3ee3f403d37680e /include
parenta2b5d877840f29b5fbb5f53b63dfcbf8bc0aea47 (diff)
downloadblackbird-op-linux-34220909a26b7f7cfc71e88ce01856c2563fe1d4.tar.gz
blackbird-op-linux-34220909a26b7f7cfc71e88ce01856c2563fe1d4.zip
PCI: remove pci_get_device_reverse
This removes the pci_get_device_reverse function as there should not be any need to walk pci devices backwards anymore. All users of this call are now gone from the tree, so it is safe to remove it. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/pci.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index b39f2abbea17..39ecf48ffa3b 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -517,9 +517,6 @@ struct pci_bus *pci_find_next_bus(const struct pci_bus *from);
struct pci_dev *pci_get_device(unsigned int vendor, unsigned int device,
struct pci_dev *from);
-struct pci_dev *pci_get_device_reverse(unsigned int vendor, unsigned int device,
- struct pci_dev *from);
-
struct pci_dev *pci_get_subsys(unsigned int vendor, unsigned int device,
unsigned int ss_vendor, unsigned int ss_device,
struct pci_dev *from);
@@ -791,13 +788,6 @@ static inline struct pci_dev *pci_get_device(unsigned int vendor,
return NULL;
}
-static inline struct pci_dev *pci_get_device_reverse(unsigned int vendor,
- unsigned int device,
- struct pci_dev *from)
-{
- return NULL;
-}
-
static inline struct pci_dev *pci_get_subsys(unsigned int vendor,
unsigned int device,
unsigned int ss_vendor,
OpenPOWER on IntegriCloud