summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2014-01-22 13:00:40 +0100
committerMark Brown <broonie@linaro.org>2014-02-03 13:44:09 +0100
commit3bba4a7889a1d23f34372aecd6de89134fe9ffd8 (patch)
tree3eb785779e0d77d8ed7aedfdd89f9a79450026f0
parentLinus 3.14-rc1 (diff)
downloadlinux-3bba4a7889a1d23f34372aecd6de89134fe9ffd8.tar.xz
linux-3bba4a7889a1d23f34372aecd6de89134fe9ffd8.zip
ASoC: samsung: h1940_uda1380: Remove unused variable
Fixes the following warning: sound/soc/samsung/h1940_uda1380.c:183:6: warning: unused variable ‘err’ [-Wunused-variable] Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r--sound/soc/samsung/h1940_uda1380.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/samsung/h1940_uda1380.c b/sound/soc/samsung/h1940_uda1380.c
index fbced589d077..3b27cd96570b 100644
--- a/sound/soc/samsung/h1940_uda1380.c
+++ b/sound/soc/samsung/h1940_uda1380.c
@@ -181,7 +181,6 @@ static int h1940_uda1380_init(struct snd_soc_pcm_runtime *rtd)
{
struct snd_soc_codec *codec = rtd->codec;
struct snd_soc_dapm_context *dapm = &codec->dapm;
- int err;
snd_soc_dapm_enable_pin(dapm, "Headphone Jack");
snd_soc_dapm_enable_pin(dapm, "Speaker");