]> git.baikalelectronics.ru Git - kernel.git/commit
media: drxj: remove redundant assignments to variable rc
authorColin Ian King <colin.king@canonical.com>
Tue, 7 Jan 2020 17:11:07 +0000 (18:11 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 24 Feb 2020 15:26:14 +0000 (16:26 +0100)
commitacf4a3a2b18ce6c95beb48ea970b2067ce836fe8
tree37709ce0b63d929a09180548f2351275f1bd4d5e
parentdd7f778d4e828ec73f9228ca073b848ec9dc9352
media: drxj: remove redundant assignments to variable rc

The variable rc 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.

Addresses-Coverity: ("Unused value")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/dvb-frontends/drx39xyj/drxj.c