[Virtio-fs] [PATCH v3 2/3] block/vmdk: Simplify vmdk_co_create() to return directly

Juan Quintela quintela at redhat.com
Mon Nov 28 15:58:51 UTC 2022


Markus Armbruster <armbru at redhat.com> wrote:
> Cc: Fam Zheng <fam at euphon.net>
> Cc: Kevin Wolf <kwolf at redhat.com>
> Cc: Hanna Reitz <hreitz at redhat.com>
> Cc: qemu-block at nongnu.org
> Signed-off-by: Markus Armbruster <armbru at redhat.com>
> Reviewed-by: Peter Maydell <peter.maydell at linaro.org>
> Reviewed-by: Philippe Mathieu-Daudé <philmd at linaro.org>

Reviewed-by: Juan Quintela <quintela at redhat.com>

goto, uninitialized variable at declaraton and can use return directly.
Not bad at all.



More information about the Virtio-fs mailing list