Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 57b41898 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Takashi Iwai
Browse files

ALSA: ASoC - restore removed variable declaration



sound/soc/soc-dapm.c: In function 'snd_soc_dapm_sys_add':
sound/soc/soc-dapm.c:828: error: 'ret' undeclared (first use in this function)

Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 0763722d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -822,6 +822,8 @@ static DEVICE_ATTR(dapm_widget, 0444, dapm_widget_show, NULL);

int snd_soc_dapm_sys_add(struct device *dev)
{
	int ret;

	if (!dapm_status)
		return 0;