media: gspca: remove redundant assignment to variable ret
authorColin Ian King <colin.king@canonical.com>
Fri, 11 Oct 2019 18:57:46 +0000 (15:57 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 24 Oct 2019 21:32:52 +0000 (18:32 -0300)
commit9b950ce05732ac103023c2a1a3b81778f4c06e2f
tree3ecda8626cfec75c76d7c23a9ab52525a5f807ab
parent05ff862e0ca5895174c2f28bc10f6dc3495ac0bd
media: gspca: remove redundant assignment to variable ret

The variable ret is being initialized with a value that
is never read and is being re-assigned a little 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+samsung@kernel.org>
drivers/media/usb/gspca/stv0680.c