summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform
diff options
context:
space:
mode:
authorColin Ian King2017-10-29 14:06:07 +0100
committerMauro Carvalho Chehab2017-10-31 12:27:37 +0100
commita10444cc04eace87e49dea36e360a799112cd889 (patch)
tree43f82d077fad143e6548a4fca3daef49c7f3143c /drivers/media/platform
parentmedia: mxl111sf: remove redundant assignment to index (diff)
downloadkernel-qcow2-linux-a10444cc04eace87e49dea36e360a799112cd889.tar.gz
kernel-qcow2-linux-a10444cc04eace87e49dea36e360a799112cd889.tar.xz
kernel-qcow2-linux-a10444cc04eace87e49dea36e360a799112cd889.zip
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>
Diffstat (limited to 'drivers/media/platform')
0 files changed, 0 insertions, 0 deletions