Skip to contentSkip to conversation

RPA PCI Hotplug - redundant free

PATCH Applied John Rose 2 participants 2 messages Mar 31, 2004

Subsystems (3)
lore
Share & tools
lore

John Rose

author
#0 lore raw

PATCH 1/1 RPA PCI Hotplug - redundant free

Hi Greg-

Apologies for the resend, messed up the lkml address. Please commit the following patch, which removes a redundant call to a
cleanup function from an error path of the module init code.

Thanks-
John

drivers/pci/hotplug/rpaphp_pci.c +0 -1
diff -Nru a/drivers/pci/hotplug/rpaphp_pci.c b/drivers/pci/hotplug/rpaphp_pci.c
@@ -304,7 +304,6 @@
 	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);
Applied
#1 lore raw
Quoted 5 lines · John Rose

Hi Greg-

Apologies for the resend, messed up the lkml address. Please commit the following patch, which removes a redundant call to a
cleanup function from an error path of the module init code.

Applied, thanks.

greg k-h