forked from Minki/linux
usb: atm: usbatm: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
7ff56857e3
commit
4675e961b8
@ -1141,7 +1141,6 @@ int usbatm_usb_probe(struct usb_interface *intf, const struct usb_device_id *id,
|
||||
|
||||
urb = usb_alloc_urb(iso_packets, GFP_KERNEL);
|
||||
if (!urb) {
|
||||
dev_err(dev, "%s: no memory for urb %d!\n", __func__, i);
|
||||
error = -ENOMEM;
|
||||
goto fail_unbind;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user