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:
d1498b1
)
ASoC: wm8996: Remove unused variable
author
Sachin Kamat
<sachin.kamat@samsung.com>
Tue, 1 Jul 2014 04:29:33 +0000
(09:59 +0530)
committer
Mark Brown
<broonie@linaro.org>
Thu, 3 Jul 2014 18:46:23 +0000
(19:46 +0100)
'ret' is not used in the function. Remove it.
Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/wm8996.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/wm8996.c
b/sound/soc/codecs/wm8996.c
index 69266332760ebad71bed763449afa2f8eb8079a9..622f92565030ff519565be94d99ad7afdae38902 100644
(file)
--- a/
sound/soc/codecs/wm8996.c
+++ b/
sound/soc/codecs/wm8996.c
@@
-620,15
+620,12
@@
static int bg_event(struct snd_soc_dapm_widget *w,
static int cp_event(struct snd_soc_dapm_widget *w,
struct snd_kcontrol *kcontrol, int event)
{
- int ret = 0;
-
switch (event) {
case SND_SOC_DAPM_POST_PMU:
msleep(5);
break;
default:
WARN(1, "Invalid event %d\n", event);
- ret = -EINVAL;
}
return 0;