]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuDomainDetachDeviceLiveAndConfig: Refactor cleanup
authorPeter Krempa <pkrempa@redhat.com>
Tue, 22 Nov 2022 16:07:58 +0000 (17:07 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 5 Dec 2022 11:03:11 +0000 (12:03 +0100)
commitc2a0d09046ad11b2abc9708dc155485aa5878930
treecc07c32a7232d0e628f46a9ac594236b766dfae8
parent333fb6714effb3bd7c06274c2a41b6d1c4ee0897
qemuDomainDetachDeviceLiveAndConfig: Refactor cleanup

Remove the 'cleanup' label and 'ret' variable as we can now directly
return form all cases.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_driver.c