diff options
-rw-r--r-- | drivers/pci/hotplug/ibmphp_core.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/pci/hotplug/ibmphp_core.c b/drivers/pci/hotplug/ibmphp_core.c index 010e46a0c466..49adf2278c14 100644 --- a/drivers/pci/hotplug/ibmphp_core.c +++ b/drivers/pci/hotplug/ibmphp_core.c | |||
@@ -503,9 +503,6 @@ static int __init init_ops(void) | |||
503 | int rc; | 503 | int rc; |
504 | 504 | ||
505 | list_for_each_entry(slot_cur, &ibmphp_slot_head, ibm_slot_list) { | 505 | list_for_each_entry(slot_cur, &ibmphp_slot_head, ibm_slot_list) { |
506 | if (!slot_cur) | ||
507 | return -ENODEV; | ||
508 | |||
509 | debug("BEFORE GETTING SLOT STATUS, slot # %x\n", | 506 | debug("BEFORE GETTING SLOT STATUS, slot # %x\n", |
510 | slot_cur->number); | 507 | slot_cur->number); |
511 | if (slot_cur->ctrl->revision == 0xFF) | 508 | if (slot_cur->ctrl->revision == 0xFF) |