[PATCH] qemu: Remove unnecessary variables and labels
Michal Prívozník
mprivozn at redhat.com
Tue Nov 23 17:15:34 UTC 2021
On 11/23/21 17:34, Kristina Hanicova wrote:
> This patch removes variables such as 'ret', 'rc' and others which
> are easily replaced. Therefore, making the code look cleaner and
> easier to understand.
>
> Signed-off-by: Kristina Hanicova <khanicov at redhat.com>
> ---
> src/driver.c | 4 +--
> src/qemu/qemu_agent.c | 4 +--
> src/qemu/qemu_alias.c | 14 +++-----
> src/qemu/qemu_capabilities.c | 21 +++++------
> src/qemu/qemu_cgroup.c | 7 ++--
> src/qemu/qemu_conf.c | 15 ++++----
> src/qemu/qemu_domain_address.c | 9 ++---
> src/qemu/qemu_driver.c | 64 ++++++++++++----------------------
> 8 files changed, 48 insertions(+), 90 deletions(-)
Reviewed-by: Michal Privoznik <mprivozn at redhat.com>
Michal
More information about the libvir-list
mailing list