diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-02-13 12:32:03 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-04-21 00:46:53 -0400 |
commit | 34220909a26b7f7cfc71e88ce01856c2563fe1d4 (patch) | |
tree | deea265e6356cfeca3f835d4f3ee3f403d37680e /include | |
parent | a2b5d877840f29b5fbb5f53b63dfcbf8bc0aea47 (diff) |
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.h | 10 |
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); | |||
517 | 517 | ||
518 | struct pci_dev *pci_get_device(unsigned int vendor, unsigned int device, | 518 | struct pci_dev *pci_get_device(unsigned int vendor, unsigned int device, |
519 | struct pci_dev *from); | 519 | struct pci_dev *from); |
520 | struct pci_dev *pci_get_device_reverse(unsigned int vendor, unsigned int device, | ||
521 | struct pci_dev *from); | ||
522 | |||
523 | struct pci_dev *pci_get_subsys(unsigned int vendor, unsigned int device, | 520 | struct pci_dev *pci_get_subsys(unsigned int vendor, unsigned int device, |
524 | unsigned int ss_vendor, unsigned int ss_device, | 521 | unsigned int ss_vendor, unsigned int ss_device, |
525 | struct pci_dev *from); | 522 | struct pci_dev *from); |
@@ -791,13 +788,6 @@ static inline struct pci_dev *pci_get_device(unsigned int vendor, | |||
791 | return NULL; | 788 | return NULL; |
792 | } | 789 | } |
793 | 790 | ||
794 | static inline struct pci_dev *pci_get_device_reverse(unsigned int vendor, | ||
795 | unsigned int device, | ||
796 | struct pci_dev *from) | ||
797 | { | ||
798 | return NULL; | ||
799 | } | ||
800 | |||
801 | static inline struct pci_dev *pci_get_subsys(unsigned int vendor, | 791 | static inline struct pci_dev *pci_get_subsys(unsigned int vendor, |
802 | unsigned int device, | 792 | unsigned int device, |
803 | unsigned int ss_vendor, | 793 | unsigned int ss_vendor, |