Re: [PATCH] Yet more PCI fixes for 2.5.70

Greg KH (greg@kroah.com)
Tue, 10 Jun 2003 11:49:30 -0700


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/