media: gspca: remove redundant assignment to variable j
authorColin Ian King <colin.king@canonical.com>
Sun, 29 Oct 2017 13:06:07 +0000 (09:06 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Oct 2017 11:27:37 +0000 (07:27 -0400)
commita10444cc04eace87e49dea36e360a799112cd889
tree43f82d077fad143e6548a4fca3daef49c7f3143c
parentd1e2885e1e9bbc8d2d8d90d16c53977477c8d115
media: gspca: remove redundant assignment to variable j

Variable j is being set to zero before a loop and also
immediately inside the loop and is not used after the loop.
Hence the first assignment is redundant and can be removed.
Cleans up clang warning:

drivers/media/usb/gspca/gspca.c:1078:2: warning: Value stored
to 'j' is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/gspca/gspca.c