]> 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)
commited27468e07e8a899b707a69ea5d891dab19128a9
tree37709ce0b63d929a09180548f2351275f1bd4d5e
parent65c14cb770c5b16c55749da78f6e77395c62feca
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