Commit 999eabcc authored by Miaohe Lin's avatar Miaohe Lin Committed by Paolo Bonzini

KVM: apic: remove unused function apic_lvt_vector()

The function apic_lvt_vector() is unused now, remove it.
Signed-off-by: default avatarMiaohe Lin <linmiaohe@huawei.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent d71f5e03
...@@ -294,11 +294,6 @@ static inline int apic_lvt_enabled(struct kvm_lapic *apic, int lvt_type) ...@@ -294,11 +294,6 @@ static inline int apic_lvt_enabled(struct kvm_lapic *apic, int lvt_type)
return !(kvm_lapic_get_reg(apic, lvt_type) & APIC_LVT_MASKED); return !(kvm_lapic_get_reg(apic, lvt_type) & APIC_LVT_MASKED);
} }
static inline int apic_lvt_vector(struct kvm_lapic *apic, int lvt_type)
{
return kvm_lapic_get_reg(apic, lvt_type) & APIC_VECTOR_MASK;
}
static inline int apic_lvtt_oneshot(struct kvm_lapic *apic) static inline int apic_lvtt_oneshot(struct kvm_lapic *apic)
{ {
return apic->lapic_timer.timer_mode == APIC_LVT_TIMER_ONESHOT; return apic->lapic_timer.timer_mode == APIC_LVT_TIMER_ONESHOT;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment