diff options
author | Wolfram Sang <wsa-dev@sang-engineering.com> | 2016-08-11 23:14:34 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-15 15:54:25 +0200 |
commit | 4675e961b8c457d6edc184f31ad1fd12bfbbe9ca (patch) | |
tree | d41eccb3f199bfc04a506f648fc367f011083e07 /drivers/usb/atm | |
parent | usb: atm: ueagle-atm: don't print error when allocating urb fails (diff) | |
download | linux-4675e961b8c457d6edc184f31ad1fd12bfbbe9ca.tar.xz linux-4675e961b8c457d6edc184f31ad1fd12bfbbe9ca.zip |
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>
Diffstat (limited to 'drivers/usb/atm')
-rw-r--r-- | drivers/usb/atm/usbatm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/atm/usbatm.c b/drivers/usb/atm/usbatm.c index db322d9ccb6e..5e4f46c5a300 100644 --- a/drivers/usb/atm/usbatm.c +++ b/drivers/usb/atm/usbatm.c @@ -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; } |