Skip to content

Commit

Permalink
V4L/DVB (6169): Removed unused function mt2131_set_gpo()
Browse files Browse the repository at this point in the history
Unused code is removed.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Steven Toth authored and Mauro Carvalho Chehab committed Oct 10, 2007
1 parent a77743b commit f29379c
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions drivers/media/dvb/frontends/mt2131.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,17 +91,6 @@ static int mt2131_writeregs(struct mt2131_priv *priv,u8 *buf, u8 len)
return 0;
}

static int mt2131_set_gpo(struct dvb_frontend *fe, u8 val)
{
struct mt2131_priv *priv = fe->tuner_priv;
u8 v;

mt2131_readreg(priv, 0x07, &v);
mt2131_writereg(priv, 0x07, (v & 0xfe) | (val & 0x01));

return 0;
}

static int mt2131_set_params(struct dvb_frontend *fe,
struct dvb_frontend_parameters *params)
{
Expand Down

0 comments on commit f29379c

Please sign in to comment.