[alsa-devel] [PATCH 1/1] ASoC: cs42l51: Remove unused variable

Sachin Kamat sachin.kamat at linaro.org
Tue Feb 18 10:02:48 CET 2014


‘cs42l51’ is not used. Remove it.

Signed-off-by: Sachin Kamat <sachin.kamat at linaro.org>
---
 sound/soc/codecs/cs42l51.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/codecs/cs42l51.c b/sound/soc/codecs/cs42l51.c
index e53c8714591f..3eab46020a30 100644
--- a/sound/soc/codecs/cs42l51.c
+++ b/sound/soc/codecs/cs42l51.c
@@ -487,7 +487,6 @@ static struct snd_soc_dai_driver cs42l51_dai = {
 
 static int cs42l51_probe(struct snd_soc_codec *codec)
 {
-	struct cs42l51_private *cs42l51 = snd_soc_codec_get_drvdata(codec);
 	int ret, reg;
 
 	ret = snd_soc_codec_set_cache_io(codec, 8, 8, SND_SOC_REGMAP);
-- 
1.7.9.5



More information about the Alsa-devel mailing list