projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PCI: ibmphp: Remove unneeded NULL test
[linux-2.6-microblaze.git]
/
drivers
/
pci
/
hotplug
/
ibmphp_core.c
diff --git
a/drivers/pci/hotplug/ibmphp_core.c
b/drivers/pci/hotplug/ibmphp_core.c
index
010e46a
..
49adf22
100644
(file)
--- a/
drivers/pci/hotplug/ibmphp_core.c
+++ b/
drivers/pci/hotplug/ibmphp_core.c
@@
-503,9
+503,6
@@
static int __init init_ops(void)
int rc;
list_for_each_entry(slot_cur, &ibmphp_slot_head, ibm_slot_list) {
- if (!slot_cur)
- return -ENODEV;
-
debug("BEFORE GETTING SLOT STATUS, slot # %x\n",
slot_cur->number);
if (slot_cur->ctrl->revision == 0xFF)