diff options
author | Nishka Dasgupta <nishka.dasgupta@yahoo.com> | 2019-04-03 01:44:30 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-03 11:08:00 +0200 |
commit | dc2971f20a3c9662b227fd77d39dff398e1f322e (patch) | |
tree | 0ea7caad542adf6acb0eaf6ea5fc5b6681c5a778 | |
parent | 1fbd0bcc363ab34d9bd1b78c84a2d47d6121f0f1 (diff) | |
download | linux-dc2971f20a3c9662b227fd77d39dff398e1f322e.tar.gz linux-dc2971f20a3c9662b227fd77d39dff398e1f322e.tar.bz2 linux-dc2971f20a3c9662b227fd77d39dff398e1f322e.zip |
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>
-rw-r--r-- | drivers/staging/media/zoran/zoran_driver.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/media/zoran/zoran_driver.c b/drivers/staging/media/zoran/zoran_driver.c index 4c281d9a0e60..9e39dc549024 100644 --- a/drivers/staging/media/zoran/zoran_driver.c +++ b/drivers/staging/media/zoran/zoran_driver.c @@ -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; } |