Commit 670f7ef5 authored by Colin Ian King's avatar Colin Ian King Committed by Mauro Carvalho Chehab

media: radio: remove redundant assignment to variable retval

The variable retval is being initialized with a value that is
never read and it is being updated later with a new value. The
initialization is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 04320b3e
...@@ -414,7 +414,7 @@ static int usb_si4713_probe(struct usb_interface *intf, ...@@ -414,7 +414,7 @@ static int usb_si4713_probe(struct usb_interface *intf,
struct si4713_usb_device *radio; struct si4713_usb_device *radio;
struct i2c_adapter *adapter; struct i2c_adapter *adapter;
struct v4l2_subdev *sd; struct v4l2_subdev *sd;
int retval = -ENOMEM; int retval;
dev_info(&intf->dev, "Si4713 development board discovered: (%04X:%04X)\n", dev_info(&intf->dev, "Si4713 development board discovered: (%04X:%04X)\n",
id->idVendor, id->idProduct); id->idVendor, id->idProduct);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment