Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=92b3c1ec128695e606fc435d0b68902105d585bb
Commit:     92b3c1ec128695e606fc435d0b68902105d585bb
Parent:     1fab46f0decd226fcbae73b23d7f8ed478416fbb
Author:     Oliver Endriss <[EMAIL PROTECTED]>
AuthorDate: Mon Jul 23 21:14:10 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Tue Oct 9 22:03:29 2007 -0300

    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 <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/dvb/frontends/tda10023.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/drivers/media/dvb/frontends/tda10023.c 
b/drivers/media/dvb/frontends/tda10023.c
index 4bb06f9..a00cf0f 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;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to