media: atomisp: clean up for-loop, remove redundant assignment to variable i
authorColin Ian King <colin.i.king@gmail.com>
Tue, 28 Jun 2022 15:24:51 +0000 (16:24 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 8 Jul 2022 16:49:27 +0000 (17:49 +0100)
commit71074d3783230ad99cb351a5cba69ce15febeca1
tree6fd3e43ef5f957a3ea55d24ce1582f40b72598ec
parentfaf5b7971af9edb7c6b59b7a8c47980be099472e
media: atomisp: clean up for-loop, remove redundant assignment to variable i

There is a for-loop that initializes variable i but does not use it; the
assignment is redundant and can be removed. The proceeding assignment to
pointer fw can also be moved into the for-loop to clean up the code.

Link: https://lore.kernel.org/linux-media/20220628152451.184416-1-colin.i.king@gmail.com
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/pci/sh_css.c