aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorTianyu Lan <Tianyu.Lan@microsoft.com>2018-09-28 12:45:16 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2018-10-17 00:29:42 +0200
commitaaa45da24e5d8f3906a6500a3e0da64877d69f04 (patch)
tree34737dd6a005d5f2c8fe3e6a9c971446ff1f7fc4 /arch/x86
parentKVM: x86: return 0 in case kvm_mmu_memory_cache has min number of objects (diff)
downloadlinux-dev-aaa45da24e5d8f3906a6500a3e0da64877d69f04.tar.xz
linux-dev-aaa45da24e5d8f3906a6500a3e0da64877d69f04.zip
KVM/VMX: Remve unused function is_external_interrupt().
is_external_interrupt() is not used now and so remove it. Signed-off-by: Lan Tianyu <Tianyu.Lan@microsoft.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kvm/vmx.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index 77ac8f5a9671..eee1b60023fd 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -1628,12 +1628,6 @@ static inline bool is_gp_fault(u32 intr_info)
return is_exception_n(intr_info, GP_VECTOR);
}
-static inline bool is_external_interrupt(u32 intr_info)
-{
- return (intr_info & (INTR_INFO_INTR_TYPE_MASK | INTR_INFO_VALID_MASK))
- == (INTR_TYPE_EXT_INTR | INTR_INFO_VALID_MASK);
-}
-
static inline bool is_machine_check(u32 intr_info)
{
return (intr_info & (INTR_INFO_INTR_TYPE_MASK | INTR_INFO_VECTOR_MASK |