[PATCH 25/35] qemuDomainAttachDiskGeneric: Refactor cleanup

Ján Tomko jtomko at jtomko.net
Mon May 24 12:40:31 UTC 2021

On a Friday in 2021, Peter Krempa wrote:
>Remove the 'ret' variable and 'cleanup' label in favor of directly
>returning the value since we don't have anything under the 'cleanup:'
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> src/qemu/qemu_hotplug.c | 30 ++++++++++++------------------
> 1 file changed, 12 insertions(+), 18 deletions(-)

Reviewed-by: Ján Tomko <jtomko at redhat.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20210524/a8c2f00b/attachment-0001.sig>

More information about the libvir-list mailing list