RISC-V: KVM: Make kvm_riscv_guest_timer_init a void function
authorNikolay Borisov <nborisov@suse.com>
Fri, 29 Jul 2022 11:44:26 +0000 (17:14 +0530)
committerAnup Patel <anup@brainfault.org>
Fri, 29 Jul 2022 11:44:26 +0000 (17:14 +0530)
commitcca986fab9e819319353bece789cb9d2890c1115
tree731e41c3963b5a63de701974929207851dd9d195
parent6259d2f834f2834e32254e0c02a4c4996d34495a
RISC-V: KVM: Make kvm_riscv_guest_timer_init a void function

It can never fail so convey that fact explicitly by making the function
void. Also in kvm_arch_init_vm it makes it clear that there no need
to do any cleanup after kvm_riscv_gstage_vmid_init has been called.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/include/asm/kvm_vcpu_timer.h
arch/riscv/kvm/vcpu_timer.c
arch/riscv/kvm/vm.c