projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2046d45
)
ASoC: samsung: rx1950_uda1380: Remove unused variable
author
Sachin Kamat
<sachin.kamat@linaro.org>
Wed, 22 Jan 2014 12:00:42 +0000
(17:30 +0530)
committer
Mark 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
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/samsung/rx1950_uda1380.c
b/sound/soc/samsung/rx1950_uda1380.c
index 06ebdc061770d546ad997d9f301b4ee3706d77ed..afbfe4aa2cbf0272c1806cd5095ec710170408a6 100644
(file)
--- 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");