public inbox for linux-mips@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] KVM: MIPS: remove unneeded semicolon
@ 2021-02-02  2:15 Yang Li
  2021-02-02  4:40 ` Huacai Chen
  2021-02-03 10:37 ` Thomas Bogendoerfer
  0 siblings, 2 replies; 3+ messages in thread
From: Yang Li @ 2021-02-02  2:15 UTC (permalink / raw)
  To: chenhuacai
  Cc: aleksandar.qemu.devel, tsbogend, linux-mips, kvm, linux-kernel,
	Yang Li

Eliminate the following coccicheck warning:
./arch/mips/kvm/mips.c:151:2-3: Unneeded semicolon

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 arch/mips/kvm/mips.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/kvm/mips.c b/arch/mips/kvm/mips.c
index 3d6a7f5..58a8812 100644
--- a/arch/mips/kvm/mips.c
+++ b/arch/mips/kvm/mips.c
@@ -148,7 +148,7 @@ int kvm_arch_init_vm(struct kvm *kvm, unsigned long type)
 	default:
 		/* Unsupported KVM type */
 		return -EINVAL;
-	};
+	}
 
 	/* Allocate page table to map GPA -> RPA */
 	kvm->arch.gpa_mm.pgd = kvm_pgd_alloc();
-- 
1.8.3.1


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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-02  2:15 [PATCH] KVM: MIPS: remove unneeded semicolon Yang Li
2021-02-02  4:40 ` Huacai Chen
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