]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_conf: Drop a pair of needless 'cleanup' labels
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 9 Sep 2019 15:24:22 +0000 (17:24 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 10 Sep 2019 07:33:14 +0000 (09:33 +0200)
commit4ba7e5b4ed8493e5de6ba9bba94ee6a184f86077
treedd37cbd404776d0505b52376557f92c331629322
parentebd63e3b478dad5b64fedbb3ff8f9390d97c59e8
qemu_conf: Drop a pair of needless 'cleanup' labels

There are two 'cleanup' labels - one in
virQEMUDriverConfigHugeTLBFSInit() and the other in
virQEMUDriverConfigSetDefaults() that do nothing more than
return and integer value. No memory freeing or anything important
is done there. Drop them in favour of returning immediately.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_conf.c