[media] pluto2: remove some dead code
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 18 Apr 2012 05:55:51 +0000 (02:55 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 19 Apr 2012 20:15:32 +0000 (17:15 -0300)
buf[] is a 4 character array.  Perhaps this was some debugging code from
back in the day?

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/pluto2/pluto2.c

index e1f20c236989584161afa2623a52f39b75c68062..f148b19a206a0bd617c29a1cf65a0aa83c2649ac 100644 (file)
@@ -481,14 +481,6 @@ static int lg_tdtpe001p_tuner_set_params(struct dvb_frontend *fe)
        if (p->bandwidth_hz == 8000000)
                buf[3] |= 0x08;
 
-       if (sizeof(buf) == 6) {
-               buf[4] = buf[2];
-               buf[4] &= ~0x1c;
-               buf[4] |=  0x18;
-
-               buf[5] = (0 << 7) | (2 << 4);
-       }
-
        msg.addr = I2C_ADDR_TUA6034 >> 1;
        msg.flags = 0;
        msg.buf = buf;