From: Wolfram Sang Date: Thu, 11 Aug 2016 21:14:34 +0000 (+0200) Subject: usb: atm: usbatm: don't print error when allocating urb fails X-Git-Tag: v4.14-rc1~2393^2~152 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4675e961b8c457d6edc184f31ad1fd12bfbbe9ca;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/atm/usbatm.c b/drivers/usb/atm/usbatm.c index db322d9..5e4f46c 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; }