2020-04-28 06:35:44

by Jason Yan

[permalink] [raw]
Subject: [PATCH] MIPS: oprofile: remove unneeded semicolon in common.c

Fix the following coccicheck warning:

arch/mips/oprofile/common.c:113:2-3: Unneeded semicolon

Signed-off-by: Jason Yan <[email protected]>
---
arch/mips/oprofile/common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/oprofile/common.c b/arch/mips/oprofile/common.c
index 03db268cba5c..d3996c4c6440 100644
--- a/arch/mips/oprofile/common.c
+++ b/arch/mips/oprofile/common.c
@@ -110,7 +110,7 @@ int __init oprofile_arch_init(struct oprofile_operations *ops)
case CPU_LOONGSON64:
lmodel = &op_model_loongson3_ops;
break;
- };
+ }

/*
* Always set the backtrace. This allows unsupported CPU types to still
--
2.21.1


2020-04-28 11:36:07

by Thomas Bogendoerfer

[permalink] [raw]
Subject: Re: [PATCH] MIPS: oprofile: remove unneeded semicolon in common.c

On Tue, Apr 28, 2020 at 02:32:54PM +0800, Jason Yan wrote:
> Fix the following coccicheck warning:
>
> arch/mips/oprofile/common.c:113:2-3: Unneeded semicolon
>
> Signed-off-by: Jason Yan <[email protected]>
> ---
> arch/mips/oprofile/common.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

applied to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]