mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 14:19:16 +00:00
media: cx231xx: remove redundant assignment to variable status
Variable status is being initialized with a value that is never read and is being re-assigned a later on. The assignment is redundant and hence 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@kernel.org>
This commit is contained in:
parent
17f74b145a
commit
1438d3c1c3
1 changed files with 1 additions and 1 deletions
|
@ -1240,7 +1240,7 @@ int cx231xx_init_ctrl_pin_status(struct cx231xx *dev)
|
|||
int cx231xx_set_agc_analog_digital_mux_select(struct cx231xx *dev,
|
||||
u8 analog_or_digital)
|
||||
{
|
||||
int status = 0;
|
||||
int status;
|
||||
|
||||
/* first set the direction to output */
|
||||
status = cx231xx_set_gpio_direction(dev,
|
||||
|
|
Loading…
Reference in a new issue