]> git.baikalelectronics.ru Git - kernel.git/commitdiff
KVM: nVMX: delete meaningless nested_vmx_run() declaration
authorMiaohe Lin <linmiaohe@huawei.com>
Thu, 23 Jan 2020 02:08:20 +0000 (10:08 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 5 Feb 2020 14:17:45 +0000 (15:17 +0100)
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>
arch/x86/kvm/vmx/nested.c

index 2db21d59eaf5f91bb94904c5f66a420c82f21b47..53d522faaa69f302045e03a4adab9a066227162c 100644 (file)
@@ -4723,8 +4723,6 @@ static int handle_vmclear(struct kvm_vcpu *vcpu)
        return nested_vmx_succeed(vcpu);
 }
 
-static int nested_vmx_run(struct kvm_vcpu *vcpu, bool launch);
-
 /* Emulate the VMLAUNCH instruction */
 static int handle_vmlaunch(struct kvm_vcpu *vcpu)
 {