summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8776.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-23 15:59:54 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-23 16:33:55 +0100
commit16c88583dca05034f284ad5c52f007a47673cf35 (patch)
treef96f264a8b1f64abfd427ef9053cd6321cbc92db /sound/soc/codecs/wm8776.c
parentMerge branch 'for-3.2' into for-3.3 (diff)
downloadlinux-16c88583dca05034f284ad5c52f007a47673cf35.tar.xz
linux-16c88583dca05034f284ad5c52f007a47673cf35.zip
ASoC: Remove unused variable in wm8776 driver
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8776.c')
-rw-r--r--sound/soc/codecs/wm8776.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8776.c b/sound/soc/codecs/wm8776.c
index 223fc5a5c1b0..359319cbc784 100644
--- a/sound/soc/codecs/wm8776.c
+++ b/sound/soc/codecs/wm8776.c
@@ -392,7 +392,6 @@ static int wm8776_resume(struct snd_soc_codec *codec)
static int wm8776_probe(struct snd_soc_codec *codec)
{
struct wm8776_priv *wm8776 = snd_soc_codec_get_drvdata(codec);
- struct snd_soc_dapm_context *dapm = &codec->dapm;
int ret = 0;
ret = snd_soc_codec_set_cache_io(codec, 7, 9, wm8776->control_type);