commit | 3ce4dc17e0c1e7280d53abeb85ce851a88868c63 | [log] [tgz] |
---|---|---|
author | Miaohe Lin <linmiaohe@huawei.com> | Sat Jan 18 10:50:37 2020 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Jan 27 19:59:45 2020 +0100 |
tree | 3d5f354ad42add6e6933215c8b880eabdcfdc9e4 | |
parent | 767b839afa5d62ba9cf859f4e90fef3d4a1780b5 [diff] |
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>