OSDN Git Service

media: mxl5005s: drop some dead code
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 24 Nov 2021 19:06:42 +0000 (20:06 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 29 Nov 2021 12:23:25 +0000 (13:23 +0100)
commitbd0d78ada27770bbddfd24e74f4136507f64736c
tree2a92b6924c762e8ce8e343624653bf1d0b1a7819
parent675599009abc973b21a5a459799f34123562f517
media: mxl5005s: drop some dead code

As reported by clang (with W=1), the ctrlVal var is never used.

Yet, there are even some loops to estimate it. As this is dead
code, remove it. If ever needed, someone could revert this
patch.

Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/tuners/mxl5005s.c