KVM/VMX: Remve unused function is_external_interrupt().
authorTianyu Lan <Tianyu.Lan@microsoft.com>
Fri, 28 Sep 2018 12:45:16 +0000 (12:45 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Oct 2018 22:29:42 +0000 (00:29 +0200)
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>
arch/x86/kvm/vmx.c

index 77ac8f5a96710b3d9331dcc64fbaa06bb347982a..eee1b60023fd412f84afe99e3b5fa8cc822d0e61 100644 (file)
@@ -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 |