media: drxj: remove redundant assignments to variable image_to_select
authorColin Ian King <colin.king@canonical.com>
Thu, 28 Jan 2021 16:59:11 +0000 (17:59 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 11 Mar 2021 10:59:46 +0000 (11:59 +0100)
commit225d0dbdb2b1e7beae181aec25f4aca2e7a82332
tree44bfe1372443539393b5dfa702321ec462e65d5c
parenteea62d6d471a08fe1a18c6c4ddccfde24a005beb
media: drxj: remove redundant assignments to variable image_to_select

The variable image_to_select is being initialized with a value that
is never read and it is being updated later with a new value.  The
initialization is redundant and can be removed.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/dvb-frontends/drx39xyj/drxj.c