mirror of https://gitee.com/openkylin/linux.git
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:
parent
d1498b13ae
commit
63d36f8814
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue