Re: [PATCH] qemu_block: Refactor qemuBlockExportAddNBD()

2021-10-26 Thread Peter Krempa
On Tue, Oct 26, 2021 at 16:58:22 +0200, Kristina Hanicova wrote: > I think this patch improves readability of the function by > removing unnecessary 'else' branches after 'return' and reworking > the code a bit. > > Signed-off-by: Kristina Hanicova > --- > src/qemu/qemu_block.c | 33

[PATCH] qemu_block: Refactor qemuBlockExportAddNBD()

2021-10-26 Thread Kristina Hanicova
I think this patch improves readability of the function by removing unnecessary 'else' branches after 'return' and reworking the code a bit. Signed-off-by: Kristina Hanicova --- src/qemu/qemu_block.c | 33 + 1 file changed, 13 insertions(+), 20 deletions(-) diff