Skip to contentSkip to conversation

ymfpci_main.c - vfree() checking

PATCH RESEND Applied [email protected] 1 participant 1 message Jan 4, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 10/29 ymfpci_main.c - vfree() checking

ymfpci_main.c vfree() checking cleanups.

Signed-off by: James Lamanna <[email protected]>

 ymfpci_main.c |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)
sound/pci/ymfpci/ymfpci_main.c +1 -2
@@ -2065,8 +2065,7 @@
 #endif
 
 #ifdef CONFIG_PM
-	if (chip->saved_regs)
-		vfree(chip->saved_regs);
+	vfree(chip->saved_regs);
 #endif
 	if (chip->mpu_res) {
 		release_resource(chip->mpu_res);

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors