summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-06-22 05:20:59 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-06-24 20:29:33 +0200
commitdbe885a5dd86abc4bbcc72d17a6be4e92308c87f (patch)
tree83c88bb1373d0c29292667679876ac6e8944fc91 /drivers/media/tuners
parentmedia: imx.rst: add it to v4l-drivers book (diff)
downloadlinux-dbe885a5dd86abc4bbcc72d17a6be4e92308c87f.tar.xz
linux-dbe885a5dd86abc4bbcc72d17a6be4e92308c87f.zip
media: tuners: mxl5005s: remove useless variable assignments
Values assigned to variables Fmax and Fmin at lines 2740 and 2741 are overwritten at lines 2754 and 2755 before they can be used. This makes such variable assignments useless. Addresses-Coverity-ID: 1226952 Addresses-Coverity-ID: 1226953 Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/tuners')
-rw-r--r--drivers/media/tuners/mxl5005s.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/tuners/mxl5005s.c b/drivers/media/tuners/mxl5005s.c
index 353744fee053..dd59c2c0e4a5 100644
--- a/drivers/media/tuners/mxl5005s.c
+++ b/drivers/media/tuners/mxl5005s.c
@@ -2737,8 +2737,6 @@ static u16 MXL_TuneRF(struct dvb_frontend *fe, u32 RF_Freq)
status += MXL_ControlWrite(fe, TG_LO_DIVVAL, 0x0);
status += MXL_ControlWrite(fe, TG_LO_SELVAL, 0x7);
divider_val = 2 ;
- Fmax = FmaxBin ;
- Fmin = FminBin ;
}
/* TG_DIV_VAL */