diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-04-18 02:55:51 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-04-19 17:15:32 -0300 |
commit | aa6d5f29534a6d1459f9768c591a7a72aadc5941 (patch) | |
tree | 5f9dc11c960240c63393e8a8d3cd77d9fc1596e8 | |
parent | c1341a16f6c1d25d3d8bd1ad64556b8029cbb4b8 (diff) | |
download | linux-aa6d5f29534a6d1459f9768c591a7a72aadc5941.tar.gz linux-aa6d5f29534a6d1459f9768c591a7a72aadc5941.tar.bz2 linux-aa6d5f29534a6d1459f9768c591a7a72aadc5941.zip |
[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.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/media/dvb/pluto2/pluto2.c b/drivers/media/dvb/pluto2/pluto2.c index e1f20c236989..f148b19a206a 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) 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; |