diff options
author | Wolfram Sang <wsa-dev@sang-engineering.com> | 2016-08-11 17:14:34 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-15 09:54:25 -0400 |
commit | 4675e961b8c457d6edc184f31ad1fd12bfbbe9ca (patch) | |
tree | d41eccb3f199bfc04a506f648fc367f011083e07 | |
parent | 7ff56857e352c0a2f1ecaf662dbe93e3434e9ada (diff) |
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>
-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, | |||
1141 | 1141 | ||
1142 | urb = usb_alloc_urb(iso_packets, GFP_KERNEL); | 1142 | urb = usb_alloc_urb(iso_packets, GFP_KERNEL); |
1143 | if (!urb) { | 1143 | if (!urb) { |
1144 | dev_err(dev, "%s: no memory for urb %d!\n", __func__, i); | ||
1145 | error = -ENOMEM; | 1144 | error = -ENOMEM; |
1146 | goto fail_unbind; | 1145 | goto fail_unbind; |
1147 | } | 1146 | } |