]> git.baikalelectronics.ru Git - kernel.git/commit
media: mxl111sf: remove redundant assignment to index
authorColin Ian King <colin.king@canonical.com>
Sun, 29 Oct 2017 12:50:58 +0000 (08:50 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Oct 2017 11:27:14 +0000 (07:27 -0400)
commit5b53fd21dbdafb027b5c7d16479ae773f2494593
treef198b1966e52ce8407fe1ee61f0533ec413b17b2
parentf7a808ee6eb47e1186919a7ae9223549f7bade3b
media: mxl111sf: remove redundant assignment to index

Variable index is set to zero and then set to zero again
a few lines later in a for loop initialization. Remove the
redundant setting of index to zero. Cleans up the clang
warning:

drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c:519:3: warning: Value
stored to 'index' 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/dvb-usb-v2/mxl111sf-i2c.c