media: radio: remove redundant assignment to variable retval
authorColin Ian King <colin.king@canonical.com>
Wed, 22 Jul 2020 15:16:30 +0000 (17:16 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 6 Aug 2020 09:28:21 +0000 (11:28 +0200)
commit670f7ef5f0fccd5b6dd7da80a0f7ec6b6cf9aafa
treee91ace2d2df19ae23a6babe3521c1ca16d0cb00b
parent04320b3ef90bef04df6672e3a98a266b88c35b55
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: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/radio/si4713/radio-usb-si4713.c