All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MIPS: oprofile: remove unneeded semicolon in common.c
@ 2020-04-28  6:32 Jason Yan
  2020-04-28 11:16 ` Thomas Bogendoerfer
  0 siblings, 1 reply; 2+ messages in thread
From: Jason Yan @ 2020-04-28  6:32 UTC (permalink / raw)
  To: rric, tsbogend, oprofile-list, linux-mips, linux-kernel; +Cc: Jason Yan

Fix the following coccicheck warning:

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

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


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

* Re: [PATCH] MIPS: oprofile: remove unneeded semicolon in common.c
  2020-04-28  6:32 [PATCH] MIPS: oprofile: remove unneeded semicolon in common.c Jason Yan
@ 2020-04-28 11:16 ` Thomas Bogendoerfer
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Bogendoerfer @ 2020-04-28 11:16 UTC (permalink / raw)
  To: Jason Yan; +Cc: rric, oprofile-list, linux-mips, linux-kernel

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 <yanaijie@huawei.com>
> ---
>  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 ]

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

end of thread, other threads:[~2020-04-28 11:34 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] MIPS: oprofile: remove unneeded semicolon in common.c Jason Yan
2020-04-28 11:16 ` Thomas Bogendoerfer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.