From: Wolfram Sang Date: Thu, 11 Aug 2016 21:14:37 +0000 (+0200) Subject: usb: misc: appledisplay: don't print error when allocating urb fails X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c6b1caaf2a6446516b5c8620d423ea2593142f03;p=linux-beck.git usb: misc: appledisplay: 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/misc/appledisplay.c b/drivers/usb/misc/appledisplay.c index 188c8d2e6007..29569ec2ee50 100644 --- a/drivers/usb/misc/appledisplay.c +++ b/drivers/usb/misc/appledisplay.c @@ -261,7 +261,6 @@ static int appledisplay_probe(struct usb_interface *iface, pdata->urb = usb_alloc_urb(0, GFP_KERNEL); if (!pdata->urb) { retval = -ENOMEM; - dev_err(&iface->dev, "Allocating URB failed\n"); goto error; }