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

[PATCH 13/28] media: usb: em28xx: em28xx-audio: don't print error when allocating urb fails

From: Wolfram Sang <hidden>
Date: 2016-08-11 21:11:24
Subsystem: em28xx video4linux driver, 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/em28xx/em28xx-audio.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/media/usb/em28xx/em28xx-audio.c b/drivers/media/usb/em28xx/em28xx-audio.c
index 49a5f9532bd8d8..78f3687772bfe3 100644
--- a/drivers/media/usb/em28xx/em28xx-audio.c
+++ b/drivers/media/usb/em28xx/em28xx-audio.c
@@ -850,7 +850,6 @@ static int em28xx_audio_urb_init(struct em28xx *dev)
 
 		urb = usb_alloc_urb(npackets, GFP_ATOMIC);
 		if (!urb) {
-			em28xx_errdev("usb_alloc_urb failed!\n");
 			em28xx_audio_free_urb(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