KVM: x86: cleanup kvm_apic_match_*()
authorRadim Krčmář <rkrcmar@redhat.com>
Thu, 29 Jan 2015 21:48:49 +0000 (22:48 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 30 Jan 2015 11:26:45 +0000 (12:26 +0100)
commit9368b5676265304702419eb090deffc9faf9b08f
tree87d69645aab869d4cd161716bef3e4245b50770f
parent52c233a4405eef4f4dbbe2984e308871866db007
KVM: x86: cleanup kvm_apic_match_*()

The majority of this patch turns
  result = 0; if (CODE) result = 1; return result;
into
  return CODE;
because we return bool now.

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