KVM: x86: remove duplicate checks for ioapic
authorDavid Hildenbrand <david@redhat.com>
Fri, 7 Apr 2017 08:50:26 +0000 (10:50 +0200)
committerRadim Krčmář <rkrcmar@redhat.com>
Wed, 12 Apr 2017 18:17:14 +0000 (20:17 +0200)
commit4c0b06d8868b0ad96cca83e0d04687e7f3e5b7bd
tree929d1642e66864beed02429a78e93b5f4859e29f
parent0bceb15ad15e9374387688ced76c1ac5f5eb6e14
KVM: x86: remove duplicate checks for ioapic

When handling KVM_GET_IRQCHIP, we already check irqchip_kernel(), which
implies a fully inititalized ioapic.

Signed-off-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/ioapic.c