diff options
| author | John Rose <johnrose@austin.ibm.com> | 2004-03-30 22:55:47 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <greg@kroah.com> | 2004-03-30 22:55:47 -0800 |
| commit | e09e044ad6881bca6ef35a03d94ed4cbd347e805 (patch) | |
| tree | c2a9f1a5dd77985f46bd2e7eb6f3840303df6fdc | |
| parent | 7553ed4648625568bb677f82ba10e9c0a64b250f (diff) | |
[PATCH] PCI Hotplug: RPA PCI Hotplug - redundant free
Please commit the following patch, which removes a redundant call to a
cleanup function from an error path of the module init code.
| -rw-r--r-- | drivers/pci/hotplug/rpaphp_pci.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/rpaphp_pci.c b/drivers/pci/hotplug/rpaphp_pci.c index 8a178a16b9e1..6b845586461b 100644 --- a/drivers/pci/hotplug/rpaphp_pci.c +++ b/drivers/pci/hotplug/rpaphp_pci.c @@ -304,7 +304,6 @@ static int setup_pci_hotplug_slot_info(struct slot *slot) if (slot->hotplug_slot->info->adapter_status == NOT_VALID) { dbg("%s: NOT_VALID: skip dn->full_name=%s\n", __FUNCTION__, slot->dn->full_name); - dealloc_slot_struct(slot); return (-1); } return (0); |
