]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cpu: simplify failure cleanup paths
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 16 Aug 2018 10:59:44 +0000 (11:59 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Tue, 28 Aug 2018 11:08:21 +0000 (12:08 +0100)
commit18cab54c3a0bc72390f29300684396690a7ecf51
treef965f48bb3b57ac6789108de9b7fb9b83457290e
parent0815f519784a7c565c543498777dc25f129620f9
cpu: simplify failure cleanup paths

Get rid of the separate 'error:' label, so all code paths jump straight
to the 'cleanup:' label.

Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/cpu/cpu_ppc64.c
src/cpu/cpu_x86.c