diff options
author | Wolfram Sang <wsa-dev@sang-engineering.com> | 2016-08-11 17:14:37 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-15 09:54:26 -0400 |
commit | c6b1caaf2a6446516b5c8620d423ea2593142f03 (patch) | |
tree | 1d26149fa1aa1fdc4717e469bdac63da9ac8f9cb /drivers/usb | |
parent | 71574a558d243f99d03c4ebec2b2420402857c5b (diff) |
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 <wsa-dev@sang-engineering.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/misc/appledisplay.c | 1 |
1 files changed, 0 insertions, 1 deletions
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, | |||
261 | pdata->urb = usb_alloc_urb(0, GFP_KERNEL); | 261 | pdata->urb = usb_alloc_urb(0, GFP_KERNEL); |
262 | if (!pdata->urb) { | 262 | if (!pdata->urb) { |
263 | retval = -ENOMEM; | 263 | retval = -ENOMEM; |
264 | dev_err(&iface->dev, "Allocating URB failed\n"); | ||
265 | goto error; | 264 | goto error; |
266 | } | 265 | } |
267 | 266 | ||