All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] [PATCH] [RESEND] [26/29] idt77252.c - vfree() checking cleanups
@ 2005-01-04 23:18 jlamanna
  0 siblings, 0 replies; only message in thread
From: jlamanna @ 2005-01-04 23:18 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 653 bytes --]

idt77252.c vfree() checking cleanups.

Signed-off by: James Lamanna <jlamanna@gmail.com>

 idt77252.c |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)


--- linux-2.6.10-vanilla/drivers/atm/idt77252.c	2004-12-24 13:34:45.000000000 -0800
+++ linux-2.6.10/drivers/atm/idt77252.c	2005-01-04 11:27:04.338591184 -0800
@@ -3136,14 +3136,11 @@
 		}
 	}
 
-	if (card->soft_tst)
-		vfree(card->soft_tst);
+	vfree(card->soft_tst);
 
-	if (card->scd2vc)
-		vfree(card->scd2vc);
+	vfree(card->scd2vc);
 
-	if (card->vcs)
-		vfree(card->vcs);
+	vfree(card->vcs);
 
 	if (card->raw_cell_hnd) {
 		pci_free_consistent(card->pcidev, 2 * sizeof(u32),


[-- Attachment #2: Type: text/plain, Size: 167 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-04 23:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-04 23:18 [KJ] [PATCH] [RESEND] [26/29] idt77252.c - vfree() checking cleanups jlamanna

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.