]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
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 86e69f46199f8d2eec143a959907f7450ff9dbb8..27a078cbb6eb2542cb6bc0fa0be372b5a77cabac 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;
 }