OSDN Git Service

KVM: vmx: delete meaningless vmx_decache_cr0_guest_bits() declaration
authorMiaohe Lin <linmiaohe@huawei.com>
Wed, 5 Feb 2020 15:33:53 +0000 (23:33 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 5 Feb 2020 15:44:06 +0000 (16:44 +0100)
commita8be1ad01b795bd2a13297ddbaecdb956ab0efd0
tree54dc0a885238ec8d7be097452591d686f4929dd1
parentd76c7fbc01b29257359ed8b0d16d662e725b7bf9
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>
arch/x86/kvm/vmx/vmx.c