mirror of https://gitee.com/openkylin/libvirt.git
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