Skip to content

Commit

Permalink
ASoC: Remove unused variable 'wm9090' in wm9090_probe
Browse files Browse the repository at this point in the history
Eliminate below build warning:
  CC      sound/soc/codecs/wm9090.o
sound/soc/codecs/wm9090.c: In function 'wm9090_probe':
sound/soc/codecs/wm9090.c:550: warning: unused variable 'wm9090'

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Axel Lin authored and Mark Brown committed Oct 5, 2011
1 parent 0df2c59 commit 6985700
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sound/soc/codecs/wm9090.c
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,6 @@ static int wm9090_set_bias_level(struct snd_soc_codec *codec,

static int wm9090_probe(struct snd_soc_codec *codec)
{
struct wm9090_priv *wm9090 = snd_soc_codec_get_drvdata(codec);
int ret;

ret = snd_soc_codec_set_cache_io(codec, 8, 16, SND_SOC_I2C);
Expand Down

0 comments on commit 6985700

Please sign in to comment.