提交 8f956ee7 编写于 作者: P Peter Krempa

qemu: Remove cleanup section of virQEMUCapsInitQMPMonitorTCG

There's nothing to clean up.
Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
上级 e125000a
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册