[PATCH] clk: mmp: pxa1908-apbcp: Remove unneeded semicolon

Chen Ni posted 1 patch 1 week, 4 days ago
drivers/clk/mmp/clk-pxa1908-apbcp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] clk: mmp: pxa1908-apbcp: Remove unneeded semicolon
Posted by Chen Ni 1 week, 4 days ago
Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
semantic patch at scripts/coccinelle/misc/semicolon.cocci.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
---
 drivers/clk/mmp/clk-pxa1908-apbcp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/mmp/clk-pxa1908-apbcp.c b/drivers/clk/mmp/clk-pxa1908-apbcp.c
index 1aa476103553..4e646e8b7440 100644
--- a/drivers/clk/mmp/clk-pxa1908-apbcp.c
+++ b/drivers/clk/mmp/clk-pxa1908-apbcp.c
@@ -61,7 +61,7 @@ static void pxa1908_clk_reset_init(struct device_node *np,
 		cells[i].bits = BIT(2);
 		cells[i].flags = 0;
 		cells[i].lock = apbcp_gate_clks[i].lock;
-	};
+	}
 
 	mmp_clk_reset_register(np, cells, nr_cells);
 }
-- 
2.25.1
Re: [PATCH] clk: mmp: pxa1908-apbcp: Remove unneeded semicolon
Posted by Brian Masney 1 week, 2 days ago
On Tue, Jul 14, 2026 at 01:30:59PM +0800, Chen Ni wrote:
> Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
> semantic patch at scripts/coccinelle/misc/semicolon.cocci.
> 
> Signed-off-by: Chen Ni <nichen@iscas.ac.cn>

Reviewed-by: Brian Masney <bmasney@redhat.com>