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

Commit 9b8c2b68 authored by Wolfram Sang's avatar Wolfram Sang Committed by Greg Kroah-Hartman
Browse files

media: radio: si470x: radio-si470x-usb: 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 832fbe07
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -627,7 +627,6 @@ static int si470x_usb_driver_probe(struct usb_interface *intf,


	radio->int_in_urb = usb_alloc_urb(0, GFP_KERNEL);
	radio->int_in_urb = usb_alloc_urb(0, GFP_KERNEL);
	if (!radio->int_in_urb) {
	if (!radio->int_in_urb) {
		dev_info(&intf->dev, "could not allocate int_in_urb");
		retval = -ENOMEM;
		retval = -ENOMEM;
		goto err_intbuffer;
		goto err_intbuffer;
	}
	}