diff options
author | Dimitris Papastamos <dp@opensource.wolfsonmicro.com> | 2010-09-24 12:02:07 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-09-24 16:00:37 (GMT) |
commit | fc38a8a11d332549e4de0537ba34f197cf42788b (patch) | |
tree | 5f9865b99ab0dd94c45c1fdd091d3333fdc0375f | |
parent | 591796b82ab04c01179b9f47b1159051aeb66f08 (diff) | |
download | linux-fc38a8a11d332549e4de0537ba34f197cf42788b.tar.xz |
ASoC: WM8985: Remove unneeded declaration.
We are not using the private data in this function, so get rid of it.
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r-- | sound/soc/codecs/wm8985.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8985.c b/sound/soc/codecs/wm8985.c index 247585a..b94af96 100644 --- a/sound/soc/codecs/wm8985.c +++ b/sound/soc/codecs/wm8985.c @@ -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) { - struct wm8985_priv *wm8985; struct snd_soc_codec *codec; u16 format, master, bcp, lrp; codec = dai->codec; - wm8985 = snd_soc_codec_get_drvdata(codec); switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) { case SND_SOC_DAIFMT_I2S: |