From: Sachin Kamat Date: Tue, 1 Jul 2014 04:29:33 +0000 (+0530) Subject: ASoC: wm8996: Remove unused variable X-Git-Tag: firefly_0821_release~176^2~3158^2~37^2~10^4 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=63d36f8814e2837fe8658542bc724659b152324d;p=firefly-linux-kernel-4.4.55.git ASoC: wm8996: Remove unused variable 'ret' is not used in the function. Remove it. Signed-off-by: Sachin Kamat Signed-off-by: Mark Brown --- 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;