[PATCH] arm:Remove unneeded semicolon

cgel.zte at gmail.com cgel.zte at gmail.com
Thu Nov 4 18:38:19 PDT 2021


From: Zhang Mingyu <zhang.mingyu at zte.com.cn>

Eliminate the following coccinelle check warning:
arch/arm/mach-artpec/board-artpec6.c:42:2-3

Reported-by: Zeal Robot <zealci at zte.com.cn>
Signed-off-by: Zhang Mingyu <zhang.mingyu at zte.com.cn>
---
 arch/arm/mach-artpec/board-artpec6.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-artpec/board-artpec6.c b/arch/arm/mach-artpec/board-artpec6.c
index d3cf3e8603e8..c27e7bbcd7bc 100644
--- a/arch/arm/mach-artpec/board-artpec6.c
+++ b/arch/arm/mach-artpec/board-artpec6.c
@@ -39,7 +39,7 @@ static void __init artpec6_init_machine(void)
 		 */
 		regmap_write(regmap, ARTPEC6_DMACFG_REGNUM,
 			     ARTPEC6_DMACFG_UARTS_BURST);
-	};
+	}
 }
 
 static void artpec6_l2c310_write_sec(unsigned long val, unsigned reg)
-- 
2.25.1




More information about the linux-arm-kernel mailing list