From d0ccc4154b14a4a997095cf4d7e32d2534636dd6 Mon Sep 17 00:00:00 2001 From: Oliver Endriss Date: Tue, 24 Jul 2007 02:14:10 +0200 Subject: tda10023: Remove range check of symbol rate From: Oliver Endriss 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 --- linux/drivers/media/dvb/frontends/tda10023.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/linux/drivers/media/dvb/frontends/tda10023.c b/linux/drivers/media/dvb/frontends/tda10023.c index 017748593..4f39ab926 100644 --- a/linux/drivers/media/dvb/frontends/tda10023.c +++ b/linux/drivers/media/dvb/frontends/tda10023.c @@ -219,12 +219,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; -- cgit v1.2.3