summaryrefslogtreecommitdiff
path: root/drivers/usb/atm
diff options
context:
space:
mode:
authorWolfram Sang <wsa-dev@sang-engineering.com>2016-08-12 00:14:34 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-15 16:54:25 +0300
commit4675e961b8c457d6edc184f31ad1fd12bfbbe9ca (patch)
treed41eccb3f199bfc04a506f648fc367f011083e07 /drivers/usb/atm
parent7ff56857e352c0a2f1ecaf662dbe93e3434e9ada (diff)
downloadlinux-4675e961b8c457d6edc184f31ad1fd12bfbbe9ca.tar.xz
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.c1
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;
}