summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2006-04-04 13:30:33 +0100
committerTrent Piepho <xyzzy@speakeasy.org>2006-04-04 13:30:33 +0100
commitd8eae1def78bd2a6dfa017145311a249c7aa3bc6 (patch)
tree774c72defc0c8f57f594e5127ca4ced276cfecd6 /linux/drivers/media/dvb
parent5bf059bca09b4e3a492a700b31cab1577c77d2ce (diff)
downloadmediapointer-dvb-s2-d8eae1def78bd2a6dfa017145311a249c7aa3bc6.tar.gz
mediapointer-dvb-s2-d8eae1def78bd2a6dfa017145311a249c7aa3bc6.tar.bz2
Remove a wee bit of cruft
From: Trent Piepho <xyzzy@speakeasy.org> A few lines that do nothing in the or51132 frontend, removed. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r--linux/drivers/media/dvb/frontends/or51132.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/frontends/or51132.c b/linux/drivers/media/dvb/frontends/or51132.c
index 56d1109b9..619856b07 100644
--- a/linux/drivers/media/dvb/frontends/or51132.c
+++ b/linux/drivers/media/dvb/frontends/or51132.c
@@ -240,7 +240,7 @@ static int or51132_sleep(struct dvb_frontend* fe)
static int or51132_setmode(struct dvb_frontend* fe)
{
struct or51132_state* state = fe->demodulator_priv;
- unsigned char cmd_buf[4];
+ unsigned char cmd_buf[3];
dprintk("setmode %d\n",(int)state->current_modulation);
/* set operation mode in Receiver 1 register; */
@@ -260,7 +260,6 @@ static int or51132_setmode(struct dvb_frontend* fe)
default:
printk("setmode:Modulation set to unsupported value\n");
};
- cmd_buf[3] = 0x00;
if (i2c_writebytes(state,state->config->demod_address,
cmd_buf,3)) {
printk(KERN_WARNING "or51132: set_mode error 1\n");
@@ -298,7 +297,6 @@ static int or51132_setmode(struct dvb_frontend* fe)
default:
printk("setmode: Modulation set to unsupported value\n");
};
- cmd_buf[3] = 0x00;
msleep(20); /* 20ms */
if (i2c_writebytes(state,state->config->demod_address,
cmd_buf,3)) {