mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 15:27:47 +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,
|
||||
qemuMonitorPtr mon)
|
||||
{
|
||||
int ret = -1;
|
||||
|
||||
if (virQEMUCapsProbeQMPCPUDefinitions(qemuCaps, mon, true) < 0)
|
||||
goto cleanup;
|
||||
return -1;
|
||||
|
||||
if (virQEMUCapsProbeQMPHostCPU(qemuCaps, mon, true) < 0)
|
||||
goto cleanup;
|
||||
return -1;
|
||||
|
||||
ret = 0;
|
||||
cleanup:
|
||||
return ret;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user