Thread (2 messages) 2 messages, 2 authors, 2021-02-02

Re: [PATCH] arm: remove unneeded semicolon

From: Jesper Nilsson <Jesper.Nilsson@axis.com>
Date: 2021-02-02 09:14:08
Also in: lkml

On Tue, Feb 02, 2021 at 03:02:37AM +0100, Yang Li wrote:
Eliminate the following coccicheck warning:
./arch/arm/mach-artpec/board-artpec6.c:42:2-3: Unneeded semicolon

Reported-by: Abaci Robot <redacted>
Signed-off-by: Yang Li <redacted>
Reviewed-by: Jesper Nilsson <jesper.nilsson@axis.com>
quoted hunk ↗ jump to hunk
---
 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 d3cf3e8..c27e7bb 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)
-- 
1.8.3.1
/^JN - Jesper Nilsson
-- 
               Jesper Nilsson -- jesper.nilsson@axis.com

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help