Skip to contentSkip to conversation

dmaengine: qcom: remove unneeded semicolon

PATCH Applied Yang Li 3 participants 3 messages Feb 2, 2021 – Mar 1, 2021

Subsystems (2)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 dmaengine: qcom: remove unneeded semicolon

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

---
 drivers/dma/qcom/gpi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/dma/qcom/gpi.c +1 -1
index 1a0bf6b0..f20b557 100644
@@ -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],
Signature · 1 line
1.8.3.1
maintainer
#1 lore raw
Quoted 2 lines · Yang Li

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

This was already fixed with commit 9ee8f3d968ae3dd838c379da7c9bfd335dbdcd95

Signature · 1 line
~Vinod
#2 lore raw
In reply to Yang Li
This patch was applied to qcom/linux.git (refs/heads/for-next):

Hello:

This patch was applied to qcom/linux.git (refs/heads/for-next):

Quoted 8 lines · On Tue, 2 Feb 2021 14:46:13 +0800 you wrote:

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

---
 drivers/dma/qcom/gpi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
- dmaengine: qcom: remove unneeded semicolon

    https://git.kernel.org/qcom/c/9ee8f3d968ae

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html