summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorWolfram Sang <wsa-dev@sang-engineering.com>2016-08-11 21:03:42 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-30 17:13:53 (GMT)
commit0f578d7cc67a124b3e5e8338c51f8c1e11aeb3f0 (patch)
tree32d7e7d000c7bab09e3059a0cd98333537c96045 /drivers/media
parent05476e6469740fd961bc3a3665cf2ff52548e41b (diff)
downloadlinux-0f578d7cc67a124b3e5e8338c51f8c1e11aeb3f0.tar.xz
media: usb: as102: as102_usb_drv: 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/as102/as102_usb_drv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/usb/as102/as102_usb_drv.c b/drivers/media/usb/as102/as102_usb_drv.c
index 0e8030c..68c3a80 100644
--- a/drivers/media/usb/as102/as102_usb_drv.c
+++ b/drivers/media/usb/as102/as102_usb_drv.c
@@ -270,8 +270,6 @@ static int as102_alloc_usb_stream_buffer(struct as102_dev_t *dev)
urb = usb_alloc_urb(0, GFP_ATOMIC);
if (urb == NULL) {
- dev_dbg(&dev->bus_adap.usb_dev->dev,
- "%s: usb_alloc_urb failed\n", __func__);
as102_free_usb_stream_buffer(dev);
return -ENOMEM;
}