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>
diff --git a/sound/soc/codecs/rt5631.c b/sound/soc/codecs/rt5631.c
index 86e69f4..27a078c 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 @@
}
codec->dapm.bias_level = SND_SOC_BIAS_STANDBY;
- rt5631->codec = codec;
return 0;
}