Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e0c6db3e authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: x86: mmu: do not use return to tail-call functions that return void



This is, pedantically, not valid C.  It also looks weird.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 6c19b753
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -3900,11 +3900,11 @@ static void init_kvm_nested_mmu(struct kvm_vcpu *vcpu)
static void init_kvm_mmu(struct kvm_vcpu *vcpu)
{
	if (mmu_is_nested(vcpu))
		return init_kvm_nested_mmu(vcpu);
		init_kvm_nested_mmu(vcpu);
	else if (tdp_enabled)
		return init_kvm_tdp_mmu(vcpu);
		init_kvm_tdp_mmu(vcpu);
	else
		return init_kvm_softmmu(vcpu);
		init_kvm_softmmu(vcpu);
}

void kvm_mmu_reset_context(struct kvm_vcpu *vcpu)