KVM: APIC: remove unnecessary double checks on APIC existence
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 8 Jan 2016 12:42:24 +0000 (13:42 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 9 Feb 2016 15:57:14 +0000 (16:57 +0100)
commitf8543d6a977a1bdb37eb13ad81ef2874526209b0
tree283b8166f503e935386f7f5c8e8ae96fc3f2968b
parentb6ce978067e75187d3c30f59b60d390a29374fab
KVM: APIC: remove unnecessary double checks on APIC existence

Usually the in-kernel APIC's existence is checked in the caller.  Do not
bother checking it again in lapic.c.

Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c