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

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: default avatarColin Ian King <colin.king@canonical.com>
Reviewed-by: default avatarEzequiel Garcia <ezequiel@collabora.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 03f56d99
...@@ -287,7 +287,6 @@ static int zero_the_pointer(struct gspca_dev *gspca_dev) ...@@ -287,7 +287,6 @@ static int zero_the_pointer(struct gspca_dev *gspca_dev)
return err_code; return err_code;
err_code = cam_get_response16(gspca_dev, 0x21, 0); err_code = cam_get_response16(gspca_dev, 0x21, 0);
status = data[0];
tries++; tries++;
if (err_code < 0) if (err_code < 0)
return err_code; return err_code;
......
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