diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2019-12-06 10:53:53 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-01-08 18:16:01 +0100 |
commit | bbfdafa860bb41344fad8fea06b78c74ec79e181 (patch) | |
tree | 978cd12f2850bb1f61e35c25068df4243684a0b6 /arch | |
parent | 8262fe85b4edc5fb3dd7b9520bf5c6b4f027fa55 (diff) | |
download | linux-bbfdafa860bb41344fad8fea06b78c74ec79e181.tar.bz2 |
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions