summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2014-01-22 17:30:40 +0530
committerMark Brown <broonie@linaro.org>2014-02-03 12:44:09 +0000
commit3bba4a7889a1d23f34372aecd6de89134fe9ffd8 (patch)
tree3eb785779e0d77d8ed7aedfdd89f9a79450026f0 /sound
parent38dbfb59d1175ef458d006556061adeaa8751b72 (diff)
downloadlinux-3bba4a7889a1d23f34372aecd6de89134fe9ffd8.tar.bz2
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>
Diffstat (limited to 'sound')
-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");