mirror of
https://github.com/torvalds/linux
synced 2024-09-28 23:41:21 +00:00
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: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
0763722d28
commit
57b41898c2
|
@ -822,6 +822,8 @@ static DEVICE_ATTR(dapm_widget, 0444, dapm_widget_show, NULL);
|
||||||
|
|
||||||
int snd_soc_dapm_sys_add(struct device *dev)
|
int snd_soc_dapm_sys_add(struct device *dev)
|
||||||
{
|
{
|
||||||
|
int ret;
|
||||||
|
|
||||||
if (!dapm_status)
|
if (!dapm_status)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue