media: dvb-frontends: Remove redundant error check on variable ret
authorColin Ian King <colin.king@canonical.com>
Tue, 23 Mar 2021 14:00:47 +0000 (15:00 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 9 Apr 2021 11:00:59 +0000 (13:00 +0200)
commit7030a96bd99032c4565889082a8ab67db3b62180
tree9c9adb3d748159b891ca911ef22aad9a7bb3a199
parenta2e2c1b86209f056d1630983749baf0cd92af5ee
media: dvb-frontends: Remove redundant error check on variable ret

An earlier commit removed a call to lgdt3306a_spectral_inversion and
omitted to remove the error return check. The check on ret is now
redundant and can be removed.

Addresses-Coverity: ("Logically dead code")

Fixes: d4a3fa6652e3 ("media: dvb-frontends: lgdt3306a.c: remove dead code")
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/lgdt3306a.c