浏览代码

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>
Axel Lin 13 年之前
父节点
当前提交
6765ff778e
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      sound/soc/codecs/rt5631.c

+ 0 - 2
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;
 }