From: Wolfram Sang Date: Thu, 11 Aug 2016 21:03:49 +0000 (-0300) Subject: [media] media: usb: em28xx: em28xx-audio: don't print error when allocating urb fails X-Git-Tag: v4.9-rc4~7^2~385 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6dabae400b7fed5cbe50fce6fbe30f086182ff6b;p=platform%2Fkernel%2Flinux-exynos.git [media] media: usb: em28xx: em28xx-audio: don't print error when allocating urb fails kmalloc will print enough information in case of failure. Signed-off-by: Wolfram Sang Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/usb/em28xx/em28xx-audio.c b/drivers/media/usb/em28xx/em28xx-audio.c index 49a5f95..78f3687 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; }