Skip to content

Commit a8be1ad

Browse files
MiaoheLinbonzini
authored andcommitted
KVM: vmx: delete meaningless vmx_decache_cr0_guest_bits() declaration
The function vmx_decache_cr0_guest_bits() is only called below its implementation. So this is meaningless and should be removed. Signed-off-by: Miaohe Lin <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
1 parent d76c7fb commit a8be1ad

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

arch/x86/kvm/vmx/vmx.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1428,8 +1428,6 @@ static bool emulation_required(struct kvm_vcpu *vcpu)
14281428
return emulate_invalid_guest_state && !guest_state_valid(vcpu);
14291429
}
14301430

1431-
static void vmx_decache_cr0_guest_bits(struct kvm_vcpu *vcpu);
1432-
14331431
unsigned long vmx_get_rflags(struct kvm_vcpu *vcpu)
14341432
{
14351433
struct vcpu_vmx *vmx = to_vmx(vcpu);

0 commit comments

Comments
 (0)