Skip to content

Commit

Permalink
[PATCH] lgdt3302: warning fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael Krufky authored and Linus Torvalds committed Jul 27, 2005
1 parent 0ccef6d commit 723d52e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/media/dvb/frontends/lgdt3302.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand All @@ -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
Expand Down

0 comments on commit 723d52e

Please sign in to comment.