ASoC: rt5631: Remove unused codec field from struct rt5631_priv
authorAxel Lin <axel.lin@gmail.com>
Thu, 20 Oct 2011 03:00:06 +0000 (11:00 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 20 Oct 2011 14:02:34 +0000 (15:02 +0100)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/rt5631.c

index 86e69f4..27a078c 100644 (file)
@@ -31,7 +31,6 @@
 #include "rt5631.h"
 
 struct rt5631_priv {
-       struct snd_soc_codec *codec;
        int codec_version;
        int master;
        int sysclk;
@@ -1632,7 +1631,6 @@ static int rt5631_probe(struct snd_soc_codec *codec)
        }
 
        codec->dapm.bias_level = SND_SOC_BIAS_STANDBY;
-       rt5631->codec = codec;
 
        return 0;
 }