media: platform: exynos-gsc: remove redundant initializations of f_chk_len and f_chk_addr
authorColin Ian King <colin.i.king@gmail.com>
Wed, 18 May 2022 08:32:19 +0000 (09:32 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 20 Jun 2022 09:30:31 +0000 (10:30 +0100)
commitaa911fcc772e38441f3331ccf442ada898ccbf8c
tree9ec8071955dbc2434d1ed390f845dcd6d13d0580
parent9059ca921bd3e81ad554c1baa4c08e90b12767fe
media: platform: exynos-gsc: remove redundant initializations of f_chk_len and f_chk_addr

The variables f_chk_len and f_chk_addr are being initialized to zero and
then being re-assigned in the next statement. The initializations are
redundant and can be removed. Also initialize s_chk_addr and s_chk_len
at the declaration statement.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/samsung/exynos-gsc/gsc-core.c