[PATCH] lgdt3302: warning fix
authorMichael Krufky <mkrufky@m1k.net>
Wed, 27 Jul 2005 18:45:56 +0000 (11:45 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 27 Jul 2005 23:26:16 +0000 (16:26 -0700)
warning: `i2c_readbytes' defined but not used

This code will either be re-enabled or deleted in a future patch.

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/media/dvb/frontends/lgdt3302.c

index c803c05002ad0261bb66a7813436e3bef560fee2..c3b8d4e080bbf1977ad2e25cab960ddfeaf5c2d0 100644 (file)
@@ -94,6 +94,7 @@ static int i2c_writebytes (struct lgdt3302_state* state,
        return 0;
 }
 
+#if 0
 static int i2c_readbytes (struct lgdt3302_state* state,
                          u8 addr, /* demod_address or pll_address */
                          u8 *buf, /* holds data bytes read */
@@ -109,6 +110,7 @@ static int i2c_readbytes (struct lgdt3302_state* state,
        }
        return 0;
 }
+#endif
 
 /*
  * This routine writes the register (reg) to the demod bus