2021-02-02 06:50:17

by Yang Li

[permalink] [raw]
Subject: [PATCH] dmaengine: qcom: remove unneeded semicolon

Eliminate the following coccicheck warning:
./drivers/dma/qcom/gpi.c:1703:2-3: Unneeded semicolon

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
---
drivers/dma/qcom/gpi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/dma/qcom/gpi.c b/drivers/dma/qcom/gpi.c
index 1a0bf6b0..f20b557 100644
--- a/drivers/dma/qcom/gpi.c
+++ b/drivers/dma/qcom/gpi.c
@@ -1700,7 +1700,7 @@ static int gpi_create_i2c_tre(struct gchan *chan, struct gpi_desc *desc,

tre->dword[3] = u32_encode_bits(TRE_TYPE_DMA, TRE_FLAGS_TYPE);
tre->dword[3] |= u32_encode_bits(1, TRE_FLAGS_IEOT);
- };
+ }

for (i = 0; i < tre_idx; i++)
dev_dbg(dev, "TRE:%d %x:%x:%x:%x\n", i, desc->tre[i].dword[0],
--
1.8.3.1


2021-02-03 11:34:50

by Vinod Koul

[permalink] [raw]
Subject: Re: [PATCH] dmaengine: qcom: remove unneeded semicolon

On 02-02-21, 14:46, Yang Li wrote:
> Eliminate the following coccicheck warning:
> ./drivers/dma/qcom/gpi.c:1703:2-3: Unneeded semicolon

This was already fixed with commit 9ee8f3d968ae3dd838c379da7c9bfd335dbdcd95

--
~Vinod