From 770ad653c5820c33e580feeeea29733f0806db9d Mon Sep 17 00:00:00 2001 From: Michael Krufky Date: Sun, 2 Dec 2007 00:32:49 -0500 Subject: tda18271: remove duplicated code From: Michael Krufky Signed-off-by: Michael Krufky --- linux/drivers/media/dvb/frontends/tda18271-fe.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'linux/drivers') diff --git a/linux/drivers/media/dvb/frontends/tda18271-fe.c b/linux/drivers/media/dvb/frontends/tda18271-fe.c index 17bfeb875..93755373f 100644 --- a/linux/drivers/media/dvb/frontends/tda18271-fe.c +++ b/linux/drivers/media/dvb/frontends/tda18271-fe.c @@ -360,12 +360,7 @@ static int tda18271_tune(struct dvb_frontend *fe, u32 div, N = 0; int i; - tda18271_read_regs(fe); - - /* test IR_CAL_OK to see if we need init */ - if ((regs[R_EP1] & 0x08) == 0) - tda18271_init_regs(fe); - + tda18271_init(fe); #if 0 /* FIXME: FM Radio support */ if (t->mode == V4L2_TUNER_RADIO) -- cgit v1.2.3