From: Sachin Kamat Date: Wed, 22 Jan 2014 12:00:40 +0000 (+0530) Subject: ASoC: samsung: h1940_uda1380: Remove unused variable X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=3bba4a7889a1d23f34372aecd6de89134fe9ffd8;p=deliverable%2Flinux.git 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 Signed-off-by: Mark Brown --- 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");