media: gspca: remove redundant initialization of variable status
authorColin Ian King <colin.king@canonical.com>
Wed, 1 Jul 2020 13:56:52 +0000 (15:56 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sun, 19 Jul 2020 05:44:37 +0000 (07:44 +0200)
commit77d7ceb1a14616af8877c77674c8a17ed45fce85
tree04b43b3546a25ca4a6d2ec14edfff2f1fa17d9d3
parenta69a7a33268308ddcc9abf0f7d7cd61ec4300cbe
media: gspca: remove redundant initialization of variable status

The variable status 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/usb/gspca/sn9c2028.c