diff options
Diffstat (limited to 'drivers/pci/hotplug/ibmphp_core.c')
-rw-r--r-- | drivers/pci/hotplug/ibmphp_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/ibmphp_core.c b/drivers/pci/hotplug/ibmphp_core.c index b81ca3fa0e84..1869b0411ce0 100644 --- a/drivers/pci/hotplug/ibmphp_core.c +++ b/drivers/pci/hotplug/ibmphp_core.c | |||
@@ -379,7 +379,7 @@ static int get_adapter_present(struct hotplug_slot *hotplug_slot, u8 *value) | |||
379 | 379 | ||
380 | static int get_max_bus_speed(struct slot *slot) | 380 | static int get_max_bus_speed(struct slot *slot) |
381 | { | 381 | { |
382 | int rc; | 382 | int rc = 0; |
383 | u8 mode = 0; | 383 | u8 mode = 0; |
384 | enum pci_bus_speed speed; | 384 | enum pci_bus_speed speed; |
385 | struct pci_bus *bus = slot->hotplug_slot->pci_slot->bus; | 385 | struct pci_bus *bus = slot->hotplug_slot->pci_slot->bus; |