summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rt5631.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-10-20 11:00:06 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-20 15:02:34 +0100
commit6765ff778e8f887e518504bebfdd10b5db5c800d (patch)
tree959b95c7ed4ec30860b72d94227fac6e46c37293 /sound/soc/codecs/rt5631.c
parentf96c255df75782c97dca8e2529bc09cb80425fe7 (diff)
ASoC: rt5631: Remove unused codec field from struct rt5631_priv
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>
Diffstat (limited to 'sound/soc/codecs/rt5631.c')
-rw-r--r--sound/soc/codecs/rt5631.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/codecs/rt5631.c b/sound/soc/codecs/rt5631.c
index 86e69f46199..27a078cbb6e 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;
}