From: Axel Lin Date: Thu, 20 Oct 2011 03:00:06 +0000 (+0800) Subject: ASoC: rt5631: Remove unused codec field from struct rt5631_priv X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=6765ff778e8f887e518504bebfdd10b5db5c800d;p=openwrt%2Fstaging%2Fblogic.git ASoC: rt5631: Remove unused codec field from struct rt5631_priv Signed-off-by: Axel Lin Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/rt5631.c b/sound/soc/codecs/rt5631.c index 86e69f46199f..27a078cbb6eb 100644 --- a/sound/soc/codecs/rt5631.c +++ b/sound/soc/codecs/rt5631.c @@ -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; }