mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 15:12:13 +02: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:
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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user