summaryrefslogtreecommitdiffstats
path: root/sound/soc/samsung
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2014-01-22 17:30:42 +0530
committerMark Brown <broonie@linaro.org>2014-02-03 12:44:09 +0000
commitd92bba83c790945ee0954f7a408b6b14418bd976 (patch)
tree6ad708b6432c7ee705dc8810af6d6992c564ea5e /sound/soc/samsung
parent2046d453712faa9cfcc153e28c9f4b25a90ce6ed (diff)
downloadop-kernel-dev-d92bba83c790945ee0954f7a408b6b14418bd976.zip
op-kernel-dev-d92bba83c790945ee0954f7a408b6b14418bd976.tar.gz
ASoC: samsung: rx1950_uda1380: Remove unused variable
Fixes the following warning: sound/soc/samsung/rx1950_uda1380.c:228: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/soc/samsung')
-rw-r--r--sound/soc/samsung/rx1950_uda1380.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/samsung/rx1950_uda1380.c b/sound/soc/samsung/rx1950_uda1380.c
index 06ebdc0..afbfe4a 100644
--- a/sound/soc/samsung/rx1950_uda1380.c
+++ b/sound/soc/samsung/rx1950_uda1380.c
@@ -226,7 +226,6 @@ static int rx1950_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");
OpenPOWER on IntegriCloud