mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-17 22:05:08 +00:00
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…
x
Reference in New Issue
Block a user