diff options
| author | Wolfram Sang <[email protected]> | 2016-08-11 23:03:44 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-08-30 19:13:53 +0200 |
| commit | d41b2d5d4696ca4ba9968211d7dc24eac69964f5 (patch) | |
| tree | 31947fc5b214eda8ef976073f55195d530ebadae | |
| parent | b4d920de70cb19960e6da688cda2b4c1e0ab4ff8 (diff) | |
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
| -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; |