media: atmel: atmel-isc: Remove redundant assignment to i
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Mon, 17 May 2021 10:07:48 +0000 (12:07 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 2 Jun 2021 11:33:14 +0000 (13:33 +0200)
commitc75f11fbe4de0d4ccba14e7125607fd5ca12e294
treed1ccfd457d4cad70feb569ef16da1bc4eebb73af
parentdd706623fcab3ba808a2c48855e5e8aa2c6e8fbf
media: atmel: atmel-isc: Remove redundant assignment to i

Variable i is being assigned a value however the assignment is
never read, so this redundant assignment can be removed.

Clean up the following clang-analyzer warning:

drivers/media/platform/atmel/atmel-isc-base.c:975:2: warning: Value
stored to 'i' is never read [clang-analyzer-deadcode.DeadStores].

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/atmel/atmel-isc-base.c