media: mantis_dvb: remove redundant initialization to variable result
authorColin Ian King <colin.king@canonical.com>
Thu, 7 May 2020 21:43:31 +0000 (23:43 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 12 May 2020 15:32:51 +0000 (17:32 +0200)
commit77d30eab04485a5996feb48d4e07cb72fbaccadb
tree1b225221fe5fa3e25cc1d7cac19bbf7c1d9f95a1
parentf933d160b1e71dd8ab3d4e2586b9ff0f584d985c
media: mantis_dvb: remove redundant initialization to variable result

The variable result 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/pci/mantis/mantis_dvb.c