Commit aa38b885 authored by Wolfram Sang's avatar Wolfram Sang Committed by David S. Miller

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: default avatarWolfram Sang <wsa-dev@sang-engineering.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ef6cd130
...@@ -206,7 +206,6 @@ int i2400mu_notification_setup(struct i2400mu *i2400mu) ...@@ -206,7 +206,6 @@ int i2400mu_notification_setup(struct i2400mu *i2400mu)
i2400mu->notif_urb = usb_alloc_urb(0, GFP_KERNEL); i2400mu->notif_urb = usb_alloc_urb(0, GFP_KERNEL);
if (!i2400mu->notif_urb) { if (!i2400mu->notif_urb) {
ret = -ENOMEM; ret = -ENOMEM;
dev_err(dev, "notification: cannot allocate URB\n");
goto error_alloc_urb; goto error_alloc_urb;
} }
epd = usb_get_epd(i2400mu->usb_iface, epd = usb_get_epd(i2400mu->usb_iface,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment