* [PATCH] RPA PCI Hotplug - redundant free
@ 2004-03-31 20:39 John Rose
2004-03-31 22:49 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: John Rose @ 2004-03-31 20:39 UTC (permalink / raw)
To: Greg KH; +Cc: lkml
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
diff -Nru a/drivers/pci/hotplug/rpaphp_pci.c b/drivers/pci/hotplug/rpaphp_pci.c
--- a/drivers/pci/hotplug/rpaphp_pci.c Tue Mar 30 18:50:32 2004
+++ b/drivers/pci/hotplug/rpaphp_pci.c Tue Mar 30 18:50:32 2004
@@ -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);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-03-31 23:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-31 20:39 [PATCH] RPA PCI Hotplug - redundant free John Rose
2004-03-31 22:49 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox