dmaengine: fsl-edma: remove FSL_EDMA_DRV_SPLIT_REG check when parsing muxbase
authorLarisa Grigore <larisa.grigore@oss.nxp.com>
Thu, 19 Dec 2024 10:24:11 +0000 (12:24 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 24 Dec 2024 09:44:13 +0000 (15:14 +0530)
commite7732945db1d4612072e26e5b459d74e9d790b7c
treebad53fa4f64def3d353ac97810af8599c632bf9c
parenta4b00f54a20bba0bbfc952a8cb4c3cbe29e408b0
dmaengine: fsl-edma: remove FSL_EDMA_DRV_SPLIT_REG check when parsing muxbase

Clean up dead code. dmamuxs is always 0 when FSL_EDMA_DRV_SPLIT_REG set. So
it is redundant to check FSL_EDMA_DRV_SPLIT_REG again in the for loop
because it will never enter for loop.

Signed-off-by: Larisa Grigore <larisa.grigore@oss.nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20241219102415.1208328-3-larisa.grigore@oss.nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/fsl-edma-main.c