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:
Ranjani Sridharan 2022-07-12 15:39:02 +03:00 committed by Mark Brown
parent 4ccf0949cd
commit 98418a08a2
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -1419,7 +1419,6 @@ static int sof_widget_unload(struct snd_soc_component *scomp,
struct soc_bytes_ext *sbe; struct soc_bytes_ext *sbe;
struct snd_sof_dai *dai; struct snd_sof_dai *dai;
struct soc_enum *se; struct soc_enum *se;
int ret = 0;
int i; int i;
swidget = dobj->private; swidget = dobj->private;
@ -1480,7 +1479,7 @@ out:
list_del(&swidget->list); list_del(&swidget->list);
kfree(swidget); kfree(swidget);
return ret; return 0;
} }
/* /*