summaryrefslogtreecommitdiff
path: root/drivers/media/usb/as102
diff options
context:
space:
mode:
authorWolfram Sang <wsa-dev@sang-engineering.com>2016-08-12 00:03:42 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-24 14:48:19 +0300
commite291ec7b53556af8aedae6462b6fe00fbfea8537 (patch)
tree3e3243704d44d5f9256c654ecf697e7cd9116a74 /drivers/media/usb/as102
parent80ae31974d31a3b8a8cc4cd0f12d47413d15aa5c (diff)
downloadlinux-e291ec7b53556af8aedae6462b6fe00fbfea8537.tar.xz
[media] 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: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/usb/as102')
-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 0e8030c071b8..68c3a80ce349 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;
}