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)
struct pci_bus * __devinit pcibios_scan_root(int busnum)
{
struct list_head *list;
struct pci_bus *bus;
struct pci_bus *bus = NULL;
list_for_each(list, &pci_root_buses) {
bus = pci_bus_b(list);
while ((bus = pci_find_next_bus(bus)) != NULL) {
if (bus->number == busnum) {
/* Already scanned */
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