mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-11 13:04:03 +08:00
ASoC: SOF: topology: remove unused variable
'ret' is never used. Remove it and return 0 instead. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Link: https://lore.kernel.org/r/20220712123902.14696-1-peter.ujfalusi@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
4ccf0949cd
commit
98418a08a2
@ -1419,7 +1419,6 @@ static int sof_widget_unload(struct snd_soc_component *scomp,
|
||||
struct soc_bytes_ext *sbe;
|
||||
struct snd_sof_dai *dai;
|
||||
struct soc_enum *se;
|
||||
int ret = 0;
|
||||
int i;
|
||||
|
||||
swidget = dobj->private;
|
||||
@ -1480,7 +1479,7 @@ out:
|
||||
list_del(&swidget->list);
|
||||
kfree(swidget);
|
||||
|
||||
return ret;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user