]> git.baikalelectronics.ru Git - kernel.git/commitdiff
KVM: selftests: riscv: Remove unneeded semicolon
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Fri, 6 May 2022 09:45:12 +0000 (17:45 +0800)
committerAnup Patel <anup@brainfault.org>
Fri, 20 May 2022 03:38:58 +0000 (09:08 +0530)
Fix the following coccicheck warnings:

./tools/testing/selftests/kvm/lib/riscv/processor.c:353:3-4: Unneeded
semicolon.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
tools/testing/selftests/kvm/lib/riscv/processor.c

index 56e4705f7744db2abc46bcc70278dbd539373654..abc0ae5a4fe190c470bc22efc1b93b40e455e35e 100644 (file)
@@ -351,7 +351,7 @@ void vcpu_args_set(struct kvm_vm *vm, uint32_t vcpuid, unsigned int num, ...)
                case 7:
                        id = RISCV_CORE_REG(regs.a7);
                        break;
-               };
+               }
                set_reg(vm, vcpuid, id, va_arg(ap, uint64_t));
        }