media: coda: Remove redundant ctx->initialized setting
authorEzequiel Garcia <ezequiel@collabora.com>
Wed, 7 Oct 2020 10:35:39 +0000 (12:35 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 16 Nov 2020 09:31:09 +0000 (10:31 +0100)
commitf23e5f407ffa400a9958a6ef8c8db7c63b99f28e
tree7a55d4bba4ba61d2bc91f3c240b7ae8e6c4de80c
parentaf0321a5be3e5647441eb6b79355beaa592df97a
media: coda: Remove redundant ctx->initialized setting

The ctx->initialized flag is set in __coda_decoder_seq_init,
so it's redundant to set it in coda_dec_seq_init_work.
Remove the redundant set, which allows to simplify the
implementation quite a bit.

This change shouldn't affect functionality as it's just
cosmetics.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/coda/coda-bit.c