net: wimax: i2400m: usb-notif: don't print error when allocating urb fails
authorWolfram Sang <wsa-dev@sang-engineering.com>
Thu, 11 Aug 2016 21:05:29 +0000 (23:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Aug 2016 21:53:40 +0000 (14:53 -0700)
kmalloc will print enough information in case of failure.

Signed-off-by: Wolfram Sang <wsa-dev@sang-engineering.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wimax/i2400m/usb-notif.c

index fc1355d98bc6aef839bc6ac2ce315d549f6f03a5..5d429f81612546fa44c6c19f6b64c28fc2f6b336 100644 (file)
@@ -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,