diff mbox series

arm: remove unneeded semicolon in board-artpec6.c

Message ID 20200428063213.16038-1-yanaijie@huawei.com (mailing list archive)
State New, archived
Headers show
Series arm: remove unneeded semicolon in board-artpec6.c | expand

Commit Message

Jason Yan April 28, 2020, 6:32 a.m. UTC
Fix the following coccicheck warning:

arch/arm/mach-artpec/board-artpec6.c:42:2-3: Unneeded semicolon

Signed-off-by: Jason Yan <yanaijie@huawei.com>
---
 arch/arm/mach-artpec/board-artpec6.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jesper Nilsson April 28, 2020, 7:52 a.m. UTC | #1
On Tue, Apr 28, 2020 at 08:32:13AM +0200, Jason Yan wrote:
> Fix the following coccicheck warning:
> 
> arch/arm/mach-artpec/board-artpec6.c:42:2-3: Unneeded semicolon

Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>

> Signed-off-by: Jason Yan <yanaijie@huawei.com>
> ---
>  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.21.1
> 

/^JN - Jesper Nilsson
diff mbox series

Patch

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)