Commit ef6c1dad authored by Flavio Suligoi's avatar Flavio Suligoi Committed by Vinod Koul
Browse files

dmaengine: imx-sdma: remove useless braces



Braces {} are not necessary for single statement blocks.

Signed-off-by: default avatarFlavio Suligoi <f.suligoi@asem.it>
Link: https://lore.kernel.org/r/20210928151833.589843-1-f.suligoi@asem.it


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 2d0f07f8
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -741,9 +741,8 @@ static int sdma_load_script(struct sdma_engine *sdma, void *buf, int size,
	unsigned long flags;

	buf_virt = dma_alloc_coherent(sdma->dev, size, &buf_phys, GFP_KERNEL);
	if (!buf_virt) {
	if (!buf_virt)
		return -ENOMEM;
	}

	spin_lock_irqsave(&sdma->channel_0_lock, flags);