mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +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
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue