diff options
author | Wolfram Sang <wsa-dev@sang-engineering.com> | 2016-08-11 23:03:44 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-30 19:13:53 +0200 |
commit | d41b2d5d4696ca4ba9968211d7dc24eac69964f5 (patch) | |
tree | 31947fc5b214eda8ef976073f55195d530ebadae /drivers/media | |
parent | media: usb: au0828: au0828-video: don't print error when allocating urb fails (diff) | |
download | linux-d41b2d5d4696ca4ba9968211d7dc24eac69964f5.tar.xz linux-d41b2d5d4696ca4ba9968211d7dc24eac69964f5.zip |
media: usb: cpia2: cpia2_usb: don't print error when allocating urb fails
kmalloc will print enough information in case of failure.
Signed-off-by: Wolfram Sang <wsa-dev@sang-engineering.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/usb/cpia2/cpia2_usb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/usb/cpia2/cpia2_usb.c b/drivers/media/usb/cpia2/cpia2_usb.c index c1aa1ab2ece9..13620cdf0599 100644 --- a/drivers/media/usb/cpia2/cpia2_usb.c +++ b/drivers/media/usb/cpia2/cpia2_usb.c @@ -662,7 +662,6 @@ static int submit_urbs(struct camera_data *cam) } urb = usb_alloc_urb(FRAMES_PER_DESC, GFP_KERNEL); if (!urb) { - ERR("%s: usb_alloc_urb error!\n", __func__); for (j = 0; j < i; j++) usb_free_urb(cam->sbuf[j].urb); return -ENOMEM; |