Skip to content

Commit d8010a7

Browse files
MiaoheLinbonzini
authored andcommitted
KVM: vmx: delete meaningless nested_vmx_prepare_msr_bitmap() declaration
The function nested_vmx_prepare_msr_bitmap() declaration is below its implementation. So this is meaningless and should be removed. Signed-off-by: Miaohe Lin <[email protected]> Reviewed-by: Sean Christopherson <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
1 parent 8738200 commit d8010a7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

arch/x86/kvm/vmx/nested.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3048,9 +3048,6 @@ static int nested_vmx_check_vmentry_hw(struct kvm_vcpu *vcpu)
30483048
return 0;
30493049
}
30503050

3051-
static inline bool nested_vmx_prepare_msr_bitmap(struct kvm_vcpu *vcpu,
3052-
struct vmcs12 *vmcs12);
3053-
30543051
static bool nested_get_vmcs12_pages(struct kvm_vcpu *vcpu)
30553052
{
30563053
struct vmcs12 *vmcs12 = get_vmcs12(vcpu);

0 commit comments

Comments
 (0)