Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 843ac197 authored by Wolfram Sang's avatar Wolfram Sang Committed by Greg Kroah-Hartman
Browse files

usb: misc: sisusbvga: sisusb: don't print error when allocating urb fails



kmalloc will print enough information in case of failure.

Signed-off-by: default avatarWolfram Sang <wsa-dev@sang-engineering.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent da4e20ff
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -3084,7 +3084,6 @@ static int sisusb_probe(struct usb_interface *intf,
	/* Allocate URBs */
	sisusb->sisurbin = usb_alloc_urb(0, GFP_KERNEL);
	if (!sisusb->sisurbin) {
		dev_err(&sisusb->sisusb_dev->dev, "Failed to allocate URBs\n");
		retval = -ENOMEM;
		goto error_3;
	}
@@ -3093,8 +3092,6 @@ static int sisusb_probe(struct usb_interface *intf,
	for (i = 0; i < sisusb->numobufs; i++) {
		sisusb->sisurbout[i] = usb_alloc_urb(0, GFP_KERNEL);
		if (!sisusb->sisurbout[i]) {
			dev_err(&sisusb->sisusb_dev->dev,
					"Failed to allocate URBs\n");
			retval = -ENOMEM;
			goto error_4;
		}