Re: [PATCH] qemu: Remove unnecessary variables and labels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---
>  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@xxxxxxxxxx>

Michal




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux