On 9/24/21 1:49 AM, Kristina Hanicova wrote: > This is partially v2 of: > https://listman.redhat.com/archives/libvir-list/2021-September/msg00731.html > > Diff to v1: > * split changes into smaller patches > > Kristina Hanicova (4): > virsh: remove variable 'ret' and use early return if possible > virsh: remove variable 'ret' in cmdVersion() > virsh: remove variable 'ret' and 'inactive' > virsh: util: remove 'else' branch after return > > tools/virsh-host.c | 25 +++++----------- > tools/virsh-interface.c | 65 ++++++++++++++++++----------------------- > tools/virsh-network.c | 47 +++++++++++++---------------- > tools/virsh-nodedev.c | 32 ++++++++------------ > tools/virsh-nwfilter.c | 15 +++++----- > tools/virsh-util.c | 3 +- > 6 files changed, 76 insertions(+), 111 deletions(-) > Reviewed-by: Michal Privoznik <mprivozn@xxxxxxxxxx> Michal