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:
Claudiu Beznea 2026-01-19 21:52:52 +02:00 committed by Mark Brown
parent c7a4c368e7
commit cafadbf430
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -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;
}