linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] MIPS: malta-time: remove unneeded semicolon
@ 2021-02-02  2:52 Yang Li
  2021-02-03 10:37 ` Thomas Bogendoerfer
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2021-02-02  2:52 UTC (permalink / raw)
  To: tsbogend; +Cc: linux-mips, linux-kernel, Yang Li

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

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 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


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

* Re: [PATCH] MIPS: malta-time: remove unneeded semicolon
  2021-02-02  2:52 [PATCH] MIPS: malta-time: remove unneeded semicolon Yang Li
@ 2021-02-03 10:37 ` Thomas Bogendoerfer
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Bogendoerfer @ 2021-02-03 10:37 UTC (permalink / raw)
  To: Yang Li; +Cc: linux-mips, linux-kernel

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 <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
>  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 ]

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

end of thread, other threads:[~2021-02-03 10:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-02  2:52 [PATCH] MIPS: malta-time: remove unneeded semicolon Yang Li
2021-02-03 10:37 ` Thomas Bogendoerfer

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