提交 fc38a8a1 编写于 作者: D Dimitris Papastamos 提交者: Mark Brown

ASoC: WM8985: Remove unneeded declaration.

We are not using the private data in this function, so get rid of it.
Signed-off-by: NDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Acked-by: NLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 591796b8
...@@ -557,12 +557,10 @@ static int wm8985_dac_mute(struct snd_soc_dai *dai, int mute) ...@@ -557,12 +557,10 @@ static int wm8985_dac_mute(struct snd_soc_dai *dai, int mute)
static int wm8985_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) static int wm8985_set_fmt(struct snd_soc_dai *dai, unsigned int fmt)
{ {
struct wm8985_priv *wm8985;
struct snd_soc_codec *codec; struct snd_soc_codec *codec;
u16 format, master, bcp, lrp; u16 format, master, bcp, lrp;
codec = dai->codec; codec = dai->codec;
wm8985 = snd_soc_codec_get_drvdata(codec);
switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) { switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) {
case SND_SOC_DAIFMT_I2S: case SND_SOC_DAIFMT_I2S:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册