Skip to content

Commit

Permalink
V4L/DVB (6724): tda18271: remove duplicated code
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Jan 25, 2008
1 parent efce841 commit 1457263
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions drivers/media/dvb/frontends/tda18271-fe.c
Original file line number Diff line number Diff line change
Expand Up @@ -359,12 +359,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);

dprintk(1, "freq = %d, ifc = %d\n", freq, ifc);

Expand Down

0 comments on commit 1457263

Please sign in to comment.