mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-26 22:45:17 +00:00
qemu: Remove cleanup section of virQEMUCapsInitQMPMonitorTCG
There's nothing to clean up. Signed-off-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
e125000a88
commit
8f956ee71a
@ -4392,17 +4392,13 @@ int
|
|||||||
virQEMUCapsInitQMPMonitorTCG(virQEMUCapsPtr qemuCaps,
|
virQEMUCapsInitQMPMonitorTCG(virQEMUCapsPtr qemuCaps,
|
||||||
qemuMonitorPtr mon)
|
qemuMonitorPtr mon)
|
||||||
{
|
{
|
||||||
int ret = -1;
|
|
||||||
|
|
||||||
if (virQEMUCapsProbeQMPCPUDefinitions(qemuCaps, mon, true) < 0)
|
if (virQEMUCapsProbeQMPCPUDefinitions(qemuCaps, mon, true) < 0)
|
||||||
goto cleanup;
|
return -1;
|
||||||
|
|
||||||
if (virQEMUCapsProbeQMPHostCPU(qemuCaps, mon, true) < 0)
|
if (virQEMUCapsProbeQMPHostCPU(qemuCaps, mon, true) < 0)
|
||||||
goto cleanup;
|
return -1;
|
||||||
|
|
||||||
ret = 0;
|
return 0;
|
||||||
cleanup:
|
|
||||||
return ret;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user