ov511.c - vfree() checking cleanups
Subsystems (2)
PATCH RESEND 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 -8
@@ -3908,15 +3908,11 @@ ov->fbuf =NULL ; } -if (ov->rawfbuf) { -vfree (ov->rawfbuf); - ov->rawfbuf =NULL ; - } +vfree (ov->rawfbuf); + ov->rawfbuf =NULL ; -if (ov->tempfbuf) { -vfree (ov->tempfbuf); - ov->tempfbuf =NULL ; - } +vfree (ov->tempfbuf); + ov->tempfbuf =NULL ;for (i =0 ; i <OV511_NUMSBUF ; i++) {if (ov->sbuf[i].data) {
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors
Greg KH
AppliedQuoted 6 lines · On Tue, Jan 04, 2005 at 03:17:59PM -0800, [email protected] wrote:
ov511.cvfree()checking cleanups.Signed-off by: James Lamanna <[email protected]>
ov511.c | 12 ++++-------- 1 files changed, 4 insertions(+), 8 deletions(-)
Applied, thanks.
greg k-h
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors