ASoC: samsung: rx1950_uda1380: Remove unused variable
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 22 Jan 2014 12:00:42 +0000 (17:30 +0530)
committerMark Brown <broonie@linaro.org>
Mon, 3 Feb 2014 12:44:09 +0000 (12:44 +0000)
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>
sound/soc/samsung/rx1950_uda1380.c

index 06ebdc061770d546ad997d9f301b4ee3706d77ed..afbfe4aa2cbf0272c1806cd5095ec710170408a6 100644 (file)
@@ -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");