summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb
diff options
context:
space:
mode:
authorWolfram Sang <wsa-dev@sang-engineering.com>2016-08-11 23:03:50 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-30 19:13:54 +0200
commit9ebaee44a6c16487d5147eb15d858dee929b4fc1 (patch)
treeb1d91bbf4c3dbd514c95ab7768d1c04344c19c89 /drivers/media/usb
parent47cb39ebcf24907dec40a815ddd09e990bb75a7a (diff)
downloadop-kernel-dev-9ebaee44a6c16487d5147eb15d858dee929b4fc1.zip
op-kernel-dev-9ebaee44a6c16487d5147eb15d858dee929b4fc1.tar.gz
media: usb: em28xx: em28xx-core: 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/usb')
-rw-r--r--drivers/media/usb/em28xx/em28xx-core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/usb/em28xx/em28xx-core.c b/drivers/media/usb/em28xx/em28xx-core.c
index 3745607..eebd5d7 100644
--- a/drivers/media/usb/em28xx/em28xx-core.c
+++ b/drivers/media/usb/em28xx/em28xx-core.c
@@ -934,7 +934,6 @@ int em28xx_alloc_urbs(struct em28xx *dev, enum em28xx_mode mode, int xfer_bulk,
for (i = 0; i < usb_bufs->num_bufs; i++) {
urb = usb_alloc_urb(usb_bufs->num_packets, GFP_KERNEL);
if (!urb) {
- em28xx_err("cannot alloc usb_ctl.urb %i\n", i);
em28xx_uninit_usb_xfer(dev, mode);
return -ENOMEM;
}
OpenPOWER on IntegriCloud