]> err.no Git - linux-2.6/commitdiff
V4L/DVB (6169): Removed unused function mt2131_set_gpo()
authorSteven Toth <stoth@hauppauge.com>
Wed, 5 Sep 2007 00:15:46 +0000 (21:15 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:08:20 +0000 (22:08 -0300)
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>
drivers/media/dvb/frontends/mt2131.c

index 6bcc4ccc9911721845acf3c3153668586049c90d..4b93931de4e1c44aabaa308c1e9b67f01afc0976 100644 (file)
@@ -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)
 {