Thread (30 messages) 30 messages, 2 authors, 2016-08-30
STALE3596d

[PATCH 06/28] media: usb: as102: as102_usb_drv: don't print error when allocating urb fails

From: Wolfram Sang <hidden>
Date: 2016-08-11 21:11:17
Subsystem: media input infrastructure (v4l/dvb), the rest · Maintainers: Mauro Carvalho Chehab, Linus Torvalds

kmalloc will print enough information in case of failure.

Signed-off-by: Wolfram Sang <redacted>
---
 drivers/media/usb/as102/as102_usb_drv.c | 2 --
 1 file changed, 2 deletions(-)
diff --git a/drivers/media/usb/as102/as102_usb_drv.c b/drivers/media/usb/as102/as102_usb_drv.c
index 0e8030c071b8e7..68c3a80ce349b7 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;
 		}
-- 
2.8.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help