]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: apic: short-circuit kvm_apic_accept_pic_intr() when pic intr is accepted
authorMiaohe Lin <linmiaohe@huawei.com>
Sat, 18 Jan 2020 02:50:37 +0000 (10:50 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 27 Jan 2020 18:59:45 +0000 (19:59 +0100)
commit0463634fd9f5dca0432890499891f214b2de2fc1
tree3d5f354ad42add6e6933215c8b880eabdcfdc9e4
parentc87e198a1037845cb35142e268c30e485918e267
KVM: apic: short-circuit kvm_apic_accept_pic_intr() when pic intr is accepted

Short-circuit kvm_apic_accept_pic_intr() when pic intr is accepted, there
is no need to proceed further. Also remove unnecessary var r.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c