diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2014-01-28 18:40:36 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-02-03 12:38:29 -0500 |
commit | 49886cf4c4cd2ef77d0698c389199ad3e236f48e (patch) | |
tree | dbfdef07181cc0dd78d14f71984a5e3a17b3a2f2 /arch/x86/pci/irq.c | |
parent | 289a24a699ff808a9ebfaaf4c2759cb86932f664 (diff) |
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>
Diffstat (limited to 'arch/x86/pci/irq.c')
-rw-r--r-- | arch/x86/pci/irq.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/x86/pci/irq.c b/arch/x86/pci/irq.c index 8658874165c2..84112f55dd7a 100644 --- a/arch/x86/pci/irq.c +++ b/arch/x86/pci/irq.c | |||
@@ -138,9 +138,7 @@ static void __init pirq_peer_trick(void) | |||
138 | for (i = 1; i < 256; i++) { | 138 | for (i = 1; i < 256; i++) { |
139 | if (!busmap[i] || pci_find_bus(0, i)) | 139 | if (!busmap[i] || pci_find_bus(0, i)) |
140 | continue; | 140 | continue; |
141 | if (pcibios_scan_root(i)) | 141 | pcibios_scan_root(i); |
142 | printk(KERN_INFO "PCI: Discovered primary peer " | ||
143 | "bus %02x [IRQ]\n", i); | ||
144 | } | 142 | } |
145 | pcibios_last_bus = -1; | 143 | pcibios_last_bus = -1; |
146 | } | 144 | } |