1
0
Fork 0
alistair23-linux/drivers/media/usb/hdpvr
Colin Ian King eb0a6fb25c media: hdpvr: remove redundant assignment to retval
Variable retval is initialized to a value that is never read
so this assignment is redundant.  Clean up the code by removing
retval completely and just return the error return from the
call to i2c_add_adapter.

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+samsung@kernel.org>
2019-08-26 10:43:53 -03:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
hdpvr-control.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 372 2019-06-05 17:37:10 +02:00
hdpvr-core.c media: hdpvr: add terminating 0 at end of string 2019-08-19 12:08:45 -03:00
hdpvr-i2c.c media: hdpvr: remove redundant assignment to retval 2019-08-26 10:43:53 -03:00
hdpvr-video.c media: media/usb: don't set description in ENUM_FMT 2019-07-22 14:01:05 -04:00
hdpvr.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 372 2019-06-05 17:37:10 +02:00