diff options
author | Wolfram Sang <wsa-dev@sang-engineering.com> | 2016-08-11 21:03:44 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-30 17:13:53 (GMT) |
commit | d41b2d5d4696ca4ba9968211d7dc24eac69964f5 (patch) | |
tree | 31947fc5b214eda8ef976073f55195d530ebadae /drivers | |
parent | b4d920de70cb19960e6da688cda2b4c1e0ab4ff8 (diff) | |
download | linux-d41b2d5d4696ca4ba9968211d7dc24eac69964f5.tar.xz |
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')
-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 c1aa1ab..13620cd 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; |