Re: [PATCH] Yet more PCI fixes for 2.5.70

From: Greg KH (greg@kroah.com)
Date: Tue Jun 10 2003 - 13:49:30 EST


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);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:25 EST