summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <greg@kroah.com>2003-06-09 20:32:40 -0700
committerGreg Kroah-Hartman <greg@kroah.com>2003-06-09 20:32:40 -0700
commitc3c60a75de4e7c58d39b7b85a4db2188d9c6fde8 (patch)
tree20fbec24a62fad69249b16007bd2b7c5a45c00bb /include
parent34f14bfb984326abbfdf1c0837376fb628f3dcbe (diff)
[PATCH] PCI: remove pci_for_each_bus() macro as there are now no more users of it.
Diffstat (limited to 'include')
-rw-r--r--include/linux/pci.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 18edf80af3d3..64d5c6db1922 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -525,9 +525,6 @@ extern struct bus_type pci_bus_type;
extern struct list_head pci_root_buses; /* list of all known PCI buses */
extern struct list_head pci_devices; /* list of all devices */
-#define pci_for_each_bus(bus) \
- for(bus = pci_bus_b(pci_root_buses.next); bus != pci_bus_b(&pci_root_buses); bus = pci_bus_b(bus->node.next))
-
int pci_present(void);
void pcibios_fixup_bus(struct pci_bus *);
int pcibios_enable_device(struct pci_dev *, int mask);