KVM: nVMX: delete meaningless nested_vmx_run() declaration
The function nested_vmx_run() declaration is below its implementation. So this is meaningless and should be removed. Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
e8ef2a19a0
commit
33aabd029f
|
@ -4723,8 +4723,6 @@ static int handle_vmclear(struct kvm_vcpu *vcpu)
|
||||||
return nested_vmx_succeed(vcpu);
|
return nested_vmx_succeed(vcpu);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int nested_vmx_run(struct kvm_vcpu *vcpu, bool launch);
|
|
||||||
|
|
||||||
/* Emulate the VMLAUNCH instruction */
|
/* Emulate the VMLAUNCH instruction */
|
||||||
static int handle_vmlaunch(struct kvm_vcpu *vcpu)
|
static int handle_vmlaunch(struct kvm_vcpu *vcpu)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue