summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8996.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@samsung.com>2014-07-01 06:29:33 +0200
committerMark Brown <broonie@linaro.org>2014-07-03 20:46:23 +0200
commit63d36f8814e2837fe8658542bc724659b152324d (patch)
tree95113d7d42da910f6362034e6755da5da74e68cf /sound/soc/codecs/wm8996.c
parentASoC: wm8350: Remove unused variable (diff)
downloadlinux-63d36f8814e2837fe8658542bc724659b152324d.tar.xz
linux-63d36f8814e2837fe8658542bc724659b152324d.zip
ASoC: wm8996: Remove unused variable
'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>
Diffstat (limited to 'sound/soc/codecs/wm8996.c')
-rw-r--r--sound/soc/codecs/wm8996.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/codecs/wm8996.c b/sound/soc/codecs/wm8996.c
index 69266332760e..622f92565030 100644
--- 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;