1 Jul
2014
1 Jul
'14
6:29 a.m.
'ret' is not used in the function. Remove it.
Signed-off-by: Sachin Kamat sachin.kamat@samsung.com --- sound/soc/codecs/wm8996.c | 3 --- 1 file changed, 3 deletions(-)
diff --git a/sound/soc/codecs/wm8996.c b/sound/soc/codecs/wm8996.c index 9304a91b8403..f16ff4f56923 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;
--
1.7.9.5