x86/PCI: Drop return value of pcibios_scan_root()
Nobody really uses the return value of pcibios_scan_root() (one place uses it to control a printk, but the printk is not very useful). This converts pcibios_scan_root() to a void function. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
@@ -138,9 +138,7 @@ static void __init pirq_peer_trick(void)
|
||||
for (i = 1; i < 256; i++) {
|
||||
if (!busmap[i] || pci_find_bus(0, i))
|
||||
continue;
|
||||
if (pcibios_scan_root(i))
|
||||
printk(KERN_INFO "PCI: Discovered primary peer "
|
||||
"bus %02x [IRQ]\n", i);
|
||||
pcibios_scan_root(i);
|
||||
}
|
||||
pcibios_last_bus = -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user