[alsa-devel] [PATCH 5/7] ASoC: Samsung: rx1950_uda1380: Remove unused variable

Sachin Kamat sachin.kamat at linaro.org
Wed Jan 22 07:13:31 CET 2014


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 at linaro.org>
---
 sound/soc/samsung/rx1950_uda1380.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/samsung/rx1950_uda1380.c b/sound/soc/samsung/rx1950_uda1380.c
index 06ebdc061770..afbfe4aa2cbf 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");
-- 
1.7.9.5



More information about the Alsa-devel mailing list