From: Claudiu Beznea Date: Mon, 16 Mar 2026 13:32:48 +0000 (+0200) Subject: dmaengine: sh: rz-dmac: Drop goto instruction and label X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7badd294fc82629378b153327c57b8ba453688c7;p=thirdparty%2Fkernel%2Flinux.git dmaengine: sh: rz-dmac: Drop goto instruction and label There is no need to jump to the done label, so return immediately. Reviewed-by: Frank Li Signed-off-by: Claudiu Beznea Link: https://patch.msgid.link/20260316133252.240348-5-claudiu.beznea.uj@bp.renesas.com Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/sh/rz-dmac.c b/drivers/dma/sh/rz-dmac.c index 29fa2ad07e300..6c9bfe39a11ef 100644 --- a/drivers/dma/sh/rz-dmac.c +++ b/drivers/dma/sh/rz-dmac.c @@ -705,7 +705,7 @@ static void rz_dmac_irq_handle_channel(struct rz_dmac_chan *channel) scoped_guard(spinlock_irqsave, &channel->vc.lock) rz_dmac_ch_writel(channel, CHCTRL_DEFAULT, CHCTRL, 1); - goto done; + return; } /* @@ -713,8 +713,6 @@ static void rz_dmac_irq_handle_channel(struct rz_dmac_chan *channel) * zeros to CHCTRL is just ignored by HW. */ rz_dmac_ch_writel(channel, CHCTRL_CLREND, CHCTRL, 1); -done: - return; } static irqreturn_t rz_dmac_irq_handler(int irq, void *dev_id)