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>
This commit is contained in:
parent
a2b5d87784
commit
34220909a2
2 changed files with 0 additions and 51 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue