2020-04-18 07:54:28

by Jason Yan

[permalink] [raw]
Subject: [PATCH] MIPS: Netlogic: remove unneeded semicolon in fmn_message_handler()

Fix the following coccicheck warning:

arch/mips/netlogic/xlr/fmn.c:106:2-3: Unneeded semicolon

Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Jason Yan <[email protected]>
---
arch/mips/netlogic/xlr/fmn.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/netlogic/xlr/fmn.c b/arch/mips/netlogic/xlr/fmn.c
index d7db1533889a..f90303f31967 100644
--- a/arch/mips/netlogic/xlr/fmn.c
+++ b/arch/mips/netlogic/xlr/fmn.c
@@ -103,7 +103,7 @@ static irqreturn_t fmn_message_handler(int irq, void *data)
mflags = nlm_cop2_enable_irqsave();
}
}
- };
+ }
/* Enable message ring intr, to any thread in core */
nlm_fmn_setup_intr(irq, (1 << nlm_threads_per_core) - 1);
nlm_cop2_disable_irqrestore(mflags);
--
2.21.1


2020-04-20 07:31:46

by Thomas Bogendoerfer

[permalink] [raw]
Subject: Re: [PATCH] MIPS: Netlogic: remove unneeded semicolon in fmn_message_handler()

On Sat, Apr 18, 2020 at 04:18:34PM +0800, Jason Yan wrote:
> Fix the following coccicheck warning:
>
> arch/mips/netlogic/xlr/fmn.c:106:2-3: Unneeded semicolon
>
> Reported-by: Hulk Robot <[email protected]>
> Signed-off-by: Jason Yan <[email protected]>
> ---
> arch/mips/netlogic/xlr/fmn.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 ]