[alsa-devel] [PATCH] ASoC: wm8904: Remove unused variable in probe()

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Jun 19 14:22:40 CEST 2012


Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
---
 sound/soc/codecs/wm8904.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/codecs/wm8904.c b/sound/soc/codecs/wm8904.c
index cc5fb43..0013afe 100644
--- a/sound/soc/codecs/wm8904.c
+++ b/sound/soc/codecs/wm8904.c
@@ -2054,7 +2054,6 @@ static void wm8904_handle_pdata(struct snd_soc_codec *codec)
 static int wm8904_probe(struct snd_soc_codec *codec)
 {
 	struct wm8904_priv *wm8904 = snd_soc_codec_get_drvdata(codec);
-	struct wm8904_pdata *pdata = wm8904->pdata;
 	int ret;
 
 	codec->control_data = wm8904->regmap;
-- 
1.7.10



More information about the Alsa-devel mailing list