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 <wsa-dev@sang-engineering.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
ef6cd1301e
commit
aa38b885e5
@@ -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,
|
||||||
|
Reference in New Issue
Block a user