summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2020-01-23 10:08:20 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2020-02-05 15:17:45 +0100
commit33aabd029ffbafe314dad4763dadbc23d71296eb (patch)
treeef0f893d496f1c07486055a6f67a3b5b1f7a6a71 /arch/x86
parente8ef2a19a051b755b0b9973ef1b3f81e895e2bce (diff)
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>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kvm/vmx/nested.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kvm/vmx/nested.c b/arch/x86/kvm/vmx/nested.c
index 2db21d59eaf5..53d522faaa69 100644
--- a/arch/x86/kvm/vmx/nested.c
+++ b/arch/x86/kvm/vmx/nested.c
@@ -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)
{