projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d0f07f
)
dmaengine: imx-sdma: remove useless braces
author
Flavio Suligoi
<f.suligoi@asem.it>
Tue, 28 Sep 2021 15:18:30 +0000
(17:18 +0200)
committer
Vinod Koul
<vkoul@kernel.org>
Mon, 18 Oct 2021 06:45:39 +0000
(12:15 +0530)
Braces {} are not necessary for single statement blocks.
Signed-off-by: Flavio Suligoi <f.suligoi@asem.it>
Link:
https://lore.kernel.org/r/20210928151833.589843-1-f.suligoi@asem.it
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/imx-sdma.c
patch
|
blob
|
history
diff --git
a/drivers/dma/imx-sdma.c
b/drivers/dma/imx-sdma.c
index cacc725ca5459eedb4ed18bb18d9d3b4a53c3006..a58798fc3ff885b1137b4c9941d4a2be8f007e21 100644
(file)
--- a/
drivers/dma/imx-sdma.c
+++ b/
drivers/dma/imx-sdma.c
@@
-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);