[media] media: usb: as102: as102_usb_drv: don't print error when allocating urb fails
authorWolfram Sang <wsa-dev@sang-engineering.com>
Thu, 11 Aug 2016 21:03:42 +0000 (18:03 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 24 Aug 2016 11:48:19 +0000 (08:48 -0300)
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>
drivers/media/usb/as102/as102_usb_drv.c

index 0e8030c071b8e74bfdd46e229f258f9b50aa64ca..68c3a80ce349b73ae566541b41a63e1fb6a6fbeb 100644 (file)
@@ -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;
                }