Commit 01d1eaa2 authored by Pat Gefre's avatar Pat Gefre Committed by Tony Luck

[IA64-SGI] Redundant BUG check

Signed-off-by: default avatarPatrick Gefre <pfg@sgi.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 692ac55e
...@@ -303,9 +303,7 @@ static void sn_pci_fixup_bus(int segment, int busnum) ...@@ -303,9 +303,7 @@ static void sn_pci_fixup_bus(int segment, int busnum)
prom_bussoft_ptr = __va(prom_bussoft_ptr); prom_bussoft_ptr = __va(prom_bussoft_ptr);
controller = sn_alloc_pci_sysdata(); controller = sn_alloc_pci_sysdata();
if (!controller) { /* controller non-zero is BUG'd in sn_alloc_pci_sysdata */
BUG();
}
bus = pci_scan_bus(busnum, &sn_pci_root_ops, controller); bus = pci_scan_bus(busnum, &sn_pci_root_ops, controller);
if (bus == NULL) { if (bus == NULL) {
......
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