staging: media: zoran: Remove print statement for failed kmalloc
Remove print statement indicating failure of kmalloc. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta <nishka.dasgupta@yahoo.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1fbd0bcc36
commit
dc2971f20a
|
@ -226,10 +226,6 @@ static int v4l_fbuffer_alloc(struct zoran_fh *fh)
|
|||
mem = kmalloc(fh->buffers.buffer_size,
|
||||
GFP_KERNEL | __GFP_NOWARN);
|
||||
if (!mem) {
|
||||
dprintk(1,
|
||||
KERN_ERR
|
||||
"%s: %s - kmalloc for V4L buf %d failed\n",
|
||||
ZR_DEVNAME(zr), __func__, i);
|
||||
v4l_fbuffer_free(fh);
|
||||
return -ENOBUFS;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue