2021-02-02 02:56:23

by Yang Li

[permalink] [raw]
Subject: [PATCH] MIPS: malta-time: remove unneeded semicolon

Eliminate the following coccicheck warning:
./arch/mips/mti-malta/malta-time.c:141:2-3: Unneeded semicolon

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
---
arch/mips/mti-malta/malta-time.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/mti-malta/malta-time.c b/arch/mips/mti-malta/malta-time.c
index 7efcfe0..5677203 100644
--- a/arch/mips/mti-malta/malta-time.c
+++ b/arch/mips/mti-malta/malta-time.c
@@ -138,7 +138,7 @@ int get_c0_fdc_int(void)
case CPU_INTERAPTIV:
case CPU_PROAPTIV:
return -1;
- };
+ }

if (cpu_has_veic)
return -1;
--
1.8.3.1


2021-02-03 10:44:02

by Thomas Bogendoerfer

[permalink] [raw]
Subject: Re: [PATCH] MIPS: malta-time: remove unneeded semicolon

On Tue, Feb 02, 2021 at 10:52:29AM +0800, Yang Li wrote:
> Eliminate the following coccicheck warning:
> ./arch/mips/mti-malta/malta-time.c:141:2-3: Unneeded semicolon
>
> Reported-by: Abaci Robot <[email protected]>
> Signed-off-by: Yang Li <[email protected]>
> ---
> arch/mips/mti-malta/malta-time.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 ]