]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (9312): s5h1411: Remove meaningless code
authorSteven Toth <stoth@linuxtv.org>
Fri, 17 Oct 2008 02:26:05 +0000 (23:26 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 21 Oct 2008 16:30:55 +0000 (14:30 -0200)
s5h1411: Remove meaningless code

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/s5h1411.c

index 4cb0561407676813e94cfe0b9042b7b6da67b7df..e328d88bcbd4eb27449d596aaa2162c205e9ae24 100644 (file)
@@ -463,8 +463,6 @@ static int s5h1411_set_spectralinversion(struct dvb_frontend *fe, int inversion)
 
        if (inversion == 1)
                val |= 0x1000; /* Inverted */
-       else
-               val |= 0x0000;
 
        state->inversion = inversion;
        return s5h1411_writereg(state, S5H1411_I2C_TOP_ADDR, 0x24, val);