aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb/frontends/tda10023.c
diff options
context:
space:
mode:
authorOliver Endriss <o.endriss@gmx.de>2007-07-23 21:14:10 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-09 22:03:29 -0300
commit92b3c1ec128695e606fc435d0b68902105d585bb (patch)
treec28f6ecceaf3046eea00812f52bbc7ff8c8bd915 /drivers/media/dvb/frontends/tda10023.c
parent1fab46f0decd226fcbae73b23d7f8ed478416fbb (diff)
V4L/DVB (5936): tda10023: Remove range check of symbol rate
Remove incorrect range check of symbol rate, spotted by the coverity checker and reported by Adrian Bunk. These range checks are performed by dvb_core now. Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/tda10023.c')
-rw-r--r--drivers/media/dvb/frontends/tda10023.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/dvb/frontends/tda10023.c b/drivers/media/dvb/frontends/tda10023.c
index 4bb06f97938..a00cf0f54ef 100644
--- a/drivers/media/dvb/frontends/tda10023.c
+++ b/drivers/media/dvb/frontends/tda10023.c
@@ -215,12 +215,6 @@ static int tda10023_set_symbolrate (struct tda10023_state* state, u32 sr)
s16 SFIL=0;
u16 NDEC = 0;
- if (sr > (SYSCLK/(2*4)))
- sr=SYSCLK/(2*4);
-
- if (sr<870000)
- sr=870000;
-
if (sr < (u32)(SYSCLK/98.40)) {
NDEC=3;
SFIL=1;