mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-05 05:42:36 +00:00
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 <linmiaohe@huawei.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
d76c7fbc01
commit
a8be1ad01b
1 changed files with 0 additions and 2 deletions
|
@ -1428,8 +1428,6 @@ static bool emulation_required(struct kvm_vcpu *vcpu)
|
||||||
return emulate_invalid_guest_state && !guest_state_valid(vcpu);
|
return emulate_invalid_guest_state && !guest_state_valid(vcpu);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void vmx_decache_cr0_guest_bits(struct kvm_vcpu *vcpu);
|
|
||||||
|
|
||||||
unsigned long vmx_get_rflags(struct kvm_vcpu *vcpu)
|
unsigned long vmx_get_rflags(struct kvm_vcpu *vcpu)
|
||||||
{
|
{
|
||||||
struct vcpu_vmx *vmx = to_vmx(vcpu);
|
struct vcpu_vmx *vmx = to_vmx(vcpu);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue