projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38dbfb5
)
ASoC: samsung: h1940_uda1380: Remove unused variable
author
Sachin Kamat
<sachin.kamat@linaro.org>
Wed, 22 Jan 2014 12:00:40 +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/h1940_uda1380.c:183: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/h1940_uda1380.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/samsung/h1940_uda1380.c
b/sound/soc/samsung/h1940_uda1380.c
index fbced589d0778af46b92e3198534116767be3706..3b27cd96570b88219a9098af7e285c44aa98578e 100644
(file)
--- 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");