]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8a30b5fb57920b297f46ca5c3dff743fc03007a6
tree2a92b6924c762e8ce8e343624653bf1d0b1a7819
parent7be3d915c05b9d9f9f8f7cfecfd19b3c6399388a
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