]> git.baikalelectronics.ru Git - kernel.git/commit
media: stv0900_core: remove redundant assignment to variable val
authorColin Ian King <colin.king@canonical.com>
Sat, 25 Apr 2020 11:22:05 +0000 (13:22 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 12 May 2020 15:31:30 +0000 (17:31 +0200)
commitac82ab8ee975ceb61a7baf3042e3f9b9e0f299a5
treeb43742953ad7a2e86d13a5d6a5c4775d16fa1408
parent9f4403d91a378dc4af7eed56623e3a88d232dbd6
media: stv0900_core: remove redundant assignment to variable val

The variable val is being initializeed 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/stv0900_core.c