|
@@ -655,7 +655,7 @@ static int eeh_reset_device(struct eeh_pe *pe, struct pci_bus *bus,
|
|
|
pci_hp_remove_devices(bus);
|
|
|
pci_unlock_rescan_remove();
|
|
|
}
|
|
|
- } else if (bus) {
|
|
|
+ } else {
|
|
|
eeh_pe_dev_traverse(pe, eeh_rmv_device, rmv_data);
|
|
|
}
|
|
|
|
|
@@ -708,7 +708,7 @@ static int eeh_reset_device(struct eeh_pe *pe, struct pci_bus *bus,
|
|
|
eeh_pe_state_clear(pe, EEH_PE_PRI_BUS);
|
|
|
pci_hp_add_devices(bus);
|
|
|
}
|
|
|
- } else if (bus && rmv_data->removed) {
|
|
|
+ } else if (rmv_data->removed) {
|
|
|
pr_info("EEH: Sleep 5s ahead of partial hotplug\n");
|
|
|
ssleep(5);
|
|
|
|