diff options
author | Wolfram Sang <wsa-dev@sang-engineering.com> | 2016-08-12 00:14:37 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-15 16:54:26 +0300 |
commit | c6b1caaf2a6446516b5c8620d423ea2593142f03 (patch) | |
tree | 1d26149fa1aa1fdc4717e469bdac63da9ac8f9cb /drivers/usb/misc/appledisplay.c | |
parent | 71574a558d243f99d03c4ebec2b2420402857c5b (diff) | |
download | linux-c6b1caaf2a6446516b5c8620d423ea2593142f03.tar.xz |
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/misc/appledisplay.c')
-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, pdata->urb = usb_alloc_urb(0, GFP_KERNEL); if (!pdata->urb) { retval = -ENOMEM; - dev_err(&iface->dev, "Allocating URB failed\n"); goto error; } |