Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <Frank.Li@nxp.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Link: https://patch.msgid.link/20260316133252.240348-5-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Claudiu Beznea and committed by
Vinod Koul
7badd294 be342fb7

+1 -3
+1 -3
drivers/dma/sh/rz-dmac.c
··· 705 705 706 706 scoped_guard(spinlock_irqsave, &channel->vc.lock) 707 707 rz_dmac_ch_writel(channel, CHCTRL_DEFAULT, CHCTRL, 1); 708 - goto done; 708 + return; 709 709 } 710 710 711 711 /* ··· 713 713 * zeros to CHCTRL is just ignored by HW. 714 714 */ 715 715 rz_dmac_ch_writel(channel, CHCTRL_CLREND, CHCTRL, 1); 716 - done: 717 - return; 718 716 } 719 717 720 718 static irqreturn_t rz_dmac_irq_handler(int irq, void *dev_id)