mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
media: gspca: remove redundant assignment to variable status
The variable status is being assigned a value that is never read. The assignment is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Ezequiel Garcia <ezequiel@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
03f56d9952
commit
d45c931378
@ -287,7 +287,6 @@ static int zero_the_pointer(struct gspca_dev *gspca_dev)
|
||||
return err_code;
|
||||
|
||||
err_code = cam_get_response16(gspca_dev, 0x21, 0);
|
||||
status = data[0];
|
||||
tries++;
|
||||
if (err_code < 0)
|
||||
return err_code;
|
||||
|
Loading…
Reference in New Issue
Block a user