projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ff5685
)
usb: atm: usbatm: don't print error when allocating urb fails
author
Wolfram Sang
<wsa-dev@sang-engineering.com>
Thu, 11 Aug 2016 21:14:34 +0000
(23:14 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 15 Aug 2016 13:54:25 +0000
(15:54 +0200)
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>
drivers/usb/atm/usbatm.c
patch
|
blob
|
history
diff --git
a/drivers/usb/atm/usbatm.c
b/drivers/usb/atm/usbatm.c
index
db322d9
..
5e4f46c
100644
(file)
--- 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;
}