ChangeSet 1.1389, 2003/06/10 10:32:40-07:00, greg@kroah.com

[PATCH] PCI: remove pci_for_each_bus() macro as there are now no more users of it.


 include/linux/pci.h |    3 ---
 1 files changed, 3 deletions(-)


diff -Nru a/include/linux/pci.h b/include/linux/pci.h
--- a/include/linux/pci.h	Tue Jun 10 11:15:28 2003
+++ b/include/linux/pci.h	Tue Jun 10 11:15:28 2003
@@ -525,9 +525,6 @@
 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);
