From: Wolfram Sang Date: Thu, 11 Aug 2016 21:05:29 +0000 (+0200) Subject: net: wimax: i2400m: usb-notif: don't print error when allocating urb fails X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=aa38b885e52149cd0726e09c857b65740824d755;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git net: wimax: i2400m: usb-notif: 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: David S. Miller --- diff --git a/drivers/net/wimax/i2400m/usb-notif.c b/drivers/net/wimax/i2400m/usb-notif.c index fc1355d98bc6..5d429f816125 100644 --- a/drivers/net/wimax/i2400m/usb-notif.c +++ b/drivers/net/wimax/i2400m/usb-notif.c @@ -206,7 +206,6 @@ int i2400mu_notification_setup(struct i2400mu *i2400mu) i2400mu->notif_urb = usb_alloc_urb(0, GFP_KERNEL); if (!i2400mu->notif_urb) { ret = -ENOMEM; - dev_err(dev, "notification: cannot allocate URB\n"); goto error_alloc_urb; } epd = usb_get_epd(i2400mu->usb_iface,