commit | 8262fe85b4edc5fb3dd7b9520bf5c6b4f027fa55 | [log] [tgz] |
---|---|---|
author | Miaohe Lin <linmiaohe@huawei.com> | Fri Dec 06 10:53:52 2019 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed Jan 08 18:16:01 2020 +0100 |
tree | 2886bd99c836d3b8bd27bd3baff8ef190f10464f | |
parent | 885f7d6cb87eb15d62613c05d8012e9370fb5e27 [diff] |
KVM: lib: use jump label to handle resource release in irq_bypass_register_consumer() Use out_err jump label to handle resource release. It's a good practice to release resource in one place and help eliminate some duplicated code. Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>