Skip to contentSkip to conversation

ov511.c - vfree() checking cleanups

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

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

PATCH 25/29 ov511.c - vfree() checking cleanups

ov511.c vfree() checking cleanups.

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

 ov511.c |   12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)
drivers/usb/media/ov511.c +4 -6
@@ -3908,15 +3908,11 @@
 		ov->fbuf  	}
 
-	if (ov->rawfbuf) {
-		vfree(ov->rawfbuf);
-		ov->rawfbuf -	}
+	vfree(ov->rawfbuf);
+	ov->rawfbuf  
-	if (ov->tempfbuf) {
-		vfree(ov->tempfbuf);
-		ov->tempfbuf -	}
+	vfree(ov->tempfbuf);
+	ov->tempfbuf  
 	for (i  		if (ov->sbuf[i].data) {
 
 

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