aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-04-18 01:55:51 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-04-19 16:15:32 -0400
commitaa6d5f29534a6d1459f9768c591a7a72aadc5941 (patch)
tree5f9dc11c960240c63393e8a8d3cd77d9fc1596e8
parentc1341a16f6c1d25d3d8bd1ad64556b8029cbb4b8 (diff)
[media] pluto2: remove some dead code
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>
-rw-r--r--drivers/media/dvb/pluto2/pluto2.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/media/dvb/pluto2/pluto2.c b/drivers/media/dvb/pluto2/pluto2.c
index e1f20c23698..f148b19a206 100644
--- a/drivers/media/dvb/pluto2/pluto2.c
+++ b/drivers/media/dvb/pluto2/pluto2.c
@@ -481,14 +481,6 @@ static int lg_tdtpe001p_tuner_set_params(struct dvb_frontend *fe)
481 if (p->bandwidth_hz == 8000000) 481 if (p->bandwidth_hz == 8000000)
482 buf[3] |= 0x08; 482 buf[3] |= 0x08;
483 483
484 if (sizeof(buf) == 6) {
485 buf[4] = buf[2];
486 buf[4] &= ~0x1c;
487 buf[4] |= 0x18;
488
489 buf[5] = (0 << 7) | (2 << 4);
490 }
491
492 msg.addr = I2C_ADDR_TUA6034 >> 1; 484 msg.addr = I2C_ADDR_TUA6034 >> 1;
493 msg.flags = 0; 485 msg.flags = 0;
494 msg.buf = buf; 486 msg.buf = buf;