Re: [PATCH 25/35] qemuDomainAttachDiskGeneric: Refactor cleanup

2021-05-24 Thread Ján Tomko
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:' label. Signed-off-by: Peter Krempa --- src/qemu/qemu_hotplug.c | 30 -- 1 file changed,

[PATCH 25/35] qemuDomainAttachDiskGeneric: Refactor cleanup

2021-05-21 Thread Peter Krempa
Remove the 'ret' variable and 'cleanup' label in favor of directly returning the value since we don't have anything under the 'cleanup:' label. Signed-off-by: Peter Krempa --- src/qemu/qemu_hotplug.c | 30 -- 1 file changed, 12 insertions(+), 18 deletions(-) diff