OSDN Git Service

KVM: MIPS: remove unneeded semicolon
authorYang Li <yang.lee@linux.alibaba.com>
Tue, 2 Feb 2021 02:15:35 +0000 (10:15 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 3 Feb 2021 10:33:16 +0000 (11:33 +0100)
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>
Reviewed-by: Huacai Chen <chenhuacai@kernel.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/kvm/mips.c

index 3d6a7f5..58a8812 100644 (file)
@@ -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();