mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 21:57:43 +00:00
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:
parent
ef6cd1301e
commit
aa38b885e5
1 changed files with 0 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue