mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 09:20:13 -04:00
ASoC: renesas: rz-ssi: Drop goto label
There is no need to jump to a label just to return. Return directly instead. Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> Link: https://patch.msgid.link/20260119195252.3362486-5-claudiu.beznea.uj@bp.renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
committed by
Mark Brown
parent
c7a4c368e7
commit
cafadbf430
@@ -843,7 +843,7 @@ static int rz_ssi_dai_trigger(struct snd_pcm_substream *substream, int cmd,
|
||||
for (i = 0; i < num_transfer; i++) {
|
||||
ret = strm->transfer(ssi, strm);
|
||||
if (ret)
|
||||
goto done;
|
||||
return ret;
|
||||
}
|
||||
|
||||
ret = rz_ssi_start(ssi, strm);
|
||||
@@ -859,7 +859,6 @@ static int rz_ssi_dai_trigger(struct snd_pcm_substream *substream, int cmd,
|
||||
break;
|
||||
}
|
||||
|
||||
done:
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user