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>
This commit is contained in:
Sachin Kamat 2014-07-01 09:59:33 +05:30 committed by Mark Brown
parent d1498b13ae
commit 63d36f8814
1 changed files with 0 additions and 3 deletions

View File

@ -620,15 +620,12 @@ static int bg_event(struct snd_soc_dapm_widget *w,
static int cp_event(struct snd_soc_dapm_widget *w, static int cp_event(struct snd_soc_dapm_widget *w,
struct snd_kcontrol *kcontrol, int event) struct snd_kcontrol *kcontrol, int event)
{ {
int ret = 0;
switch (event) { switch (event) {
case SND_SOC_DAPM_POST_PMU: case SND_SOC_DAPM_POST_PMU:
msleep(5); msleep(5);
break; break;
default: default:
WARN(1, "Invalid event %d\n", event); WARN(1, "Invalid event %d\n", event);
ret = -EINVAL;
} }
return 0; return 0;