Re: [PATCH] More PCI fixes for 2.5.70

Greg KH (greg@kroah.com)
Thu, 5 Jun 2003 14:01:17 -0700


ChangeSet 1.1316, 2003/06/05 12:04:22-07:00, greg@kroah.com

[PATCH] PCI: remove pci_for_each_dev_reverse() now that all users of it are gone.

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

diff -Nru a/include/linux/pci.h b/include/linux/pci.h
--- a/include/linux/pci.h Thu Jun 5 13:52:48 2003
+++ b/include/linux/pci.h Thu Jun 5 13:52:48 2003
@@ -527,8 +527,6 @@
return !list_empty(&pci_devices);
}

-#define pci_for_each_dev_reverse(dev) \
- for(dev = pci_dev_g(pci_devices.prev); dev != pci_dev_g(&pci_devices); dev = pci_dev_g(dev->global_list.prev))
#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))

-
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/