Skip to content

Commit

Permalink
V4L/DVB (13480): atbm8830: fix compile warning
Browse files Browse the repository at this point in the history
Fix this trivial compile warning:

v4l/atbm8830.c:164: warning: 'set_agc_config' defined but not used

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Dec 5, 2009
1 parent a7925eb commit b8415f5
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions drivers/media/dvb/frontends/atbm8830.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ static int set_osc_freq(struct atbm_state *priv, u32 freq /*in kHz*/)

static int set_if_freq(struct atbm_state *priv, u32 freq /*in kHz*/)
{

u32 fs = priv->config->osc_clk_freq;
double t;
u32 val;
Expand Down Expand Up @@ -161,15 +161,6 @@ static int is_locked(struct atbm_state *priv, u8 *locked)
return 0;
}

static int set_agc_config(struct atbm_state *priv,
u8 min, u8 max, u8 hold_loop)
{
atbm8830_write_reg(priv, REG_AGC_MIN, min);
atbm8830_write_reg(priv, REG_AGC_MAX, max);
atbm8830_write_reg(priv, REG_AGC_HOLD_LOOP, hold_loop);

return 0;
}

static int set_static_channel_mode(struct atbm_state *priv)
{
Expand Down

0 comments on commit b8415f5

Please sign in to comment.