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>
This commit is contained in:
parent
71574a558d
commit
c6b1caaf2a
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue