Skip to content

Commit

Permalink
ALSA: ASoC - restore removed variable declaration
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Rothwell authored and Takashi Iwai committed Oct 31, 2008
1 parent 0763722 commit 57b4189
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sound/soc/soc-dapm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 57b4189

Please sign in to comment.