[media] 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: Wolfram Sang <wsa-dev@sang-engineering.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
20ff0166a5
commit
07d0320a86
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user