Commit 6ed53ded authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] PCI: remove pci_bus_b() call in arch/i386/pci/common.c

parent 6149f43c
...@@ -104,11 +104,9 @@ void __devinit pcibios_fixup_bus(struct pci_bus *b) ...@@ -104,11 +104,9 @@ void __devinit pcibios_fixup_bus(struct pci_bus *b)
struct pci_bus * __devinit pcibios_scan_root(int busnum) struct pci_bus * __devinit pcibios_scan_root(int busnum)
{ {
struct list_head *list; struct pci_bus *bus = NULL;
struct pci_bus *bus;
list_for_each(list, &pci_root_buses) { while ((bus = pci_find_next_bus(bus)) != NULL) {
bus = pci_bus_b(list);
if (bus->number == busnum) { if (bus->number == busnum) {
/* Already scanned */ /* Already scanned */
return bus; return bus;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment