OSDN Git Service

RISC-V: KVM: remove unneeded semicolon
authorYang Li <yang.lee@linux.alibaba.com>
Tue, 11 Jan 2022 01:04:54 +0000 (09:04 +0800)
committerAnup Patel <anup@brainfault.org>
Fri, 11 Mar 2022 13:32:13 +0000 (19:02 +0530)
Eliminate the following coccicheck warning:
./arch/riscv/kvm/vcpu_sbi_v01.c:117:2-3: Unneeded semicolon

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/kvm/vcpu_sbi_v01.c

index 07e2de1..2ab52b6 100644 (file)
@@ -111,7 +111,7 @@ static int kvm_sbi_ext_v01_handler(struct kvm_vcpu *vcpu, struct kvm_run *run,
        default:
                ret = -EINVAL;
                break;
-       };
+       }
 
        return ret;
 }