linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm: remove unneeded semicolon in board-artpec6.c
@ 2020-04-28  6:32 Jason Yan
  2020-04-28  7:52 ` Jesper Nilsson
  0 siblings, 1 reply; 2+ messages in thread
From: Jason Yan @ 2020-04-28  6:32 UTC (permalink / raw)
  To: jesper.nilsson, lars.persson, linux, tglx, linux-arm-kernel,
	linux-arm-kernel, linux-kernel
  Cc: Jason Yan

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(-)

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm: remove unneeded semicolon in board-artpec6.c
  2020-04-28  6:32 [PATCH] arm: remove unneeded semicolon in board-artpec6.c Jason Yan
@ 2020-04-28  7:52 ` Jesper Nilsson
  0 siblings, 0 replies; 2+ messages in thread
From: Jesper Nilsson @ 2020-04-28  7:52 UTC (permalink / raw)
  To: Jason Yan
  Cc: Jesper Nilsson, Lars Persson, linux, tglx, linux-arm-kernel,
	linux-arm-kernel, linux-kernel

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
-- 
               Jesper Nilsson -- jesper.nilsson@axis.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-28  7:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-28  6:32 [PATCH] arm: remove unneeded semicolon in board-artpec6.c Jason Yan
2020-04-28  7:52 ` Jesper Nilsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).