aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>2010-09-24 08:02:07 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-09-24 12:00:37 -0400
commitfc38a8a11d332549e4de0537ba34f197cf42788b (patch)
tree5f9865b99ab0dd94c45c1fdd091d3333fdc0375f /sound
parent591796b82ab04c01179b9f47b1159051aeb66f08 (diff)
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/wm8985.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8985.c b/sound/soc/codecs/wm8985.c
index 247585a19be5..b94af96f2bd7 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)
557 557
558static int wm8985_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) 558static int wm8985_set_fmt(struct snd_soc_dai *dai, unsigned int fmt)
559{ 559{
560 struct wm8985_priv *wm8985;
561 struct snd_soc_codec *codec; 560 struct snd_soc_codec *codec;
562 u16 format, master, bcp, lrp; 561 u16 format, master, bcp, lrp;
563 562
564 codec = dai->codec; 563 codec = dai->codec;
565 wm8985 = snd_soc_codec_get_drvdata(codec);
566 564
567 switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) { 565 switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) {
568 case SND_SOC_DAIFMT_I2S: 566 case SND_SOC_DAIFMT_I2S: