commit | bbfdafa860bb41344fad8fea06b78c74ec79e181 | [log] [tgz] |
---|---|---|
author | Miaohe Lin <linmiaohe@huawei.com> | Fri Dec 06 10:53:53 2019 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed Jan 08 18:16:01 2020 +0100 |
tree | 978cd12f2850bb1f61e35c25068df4243684a0b6 | |
parent | 8262fe85b4edc5fb3dd7b9520bf5c6b4f027fa55 [diff] |
KVM: lib: use jump label to handle resource release in irq_bypass_register_producer() 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>