提交 779a4ea9 编写于 作者: M Martin Kletzander

qemu: Remove unnecessary label and its only reference

Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
上级 e2705cfb
......@@ -4217,7 +4217,6 @@ qemuDomainCheckDiskPresence(virQEMUDriverPtr driver,
virDomainObjPtr vm,
bool cold_boot)
{
int ret = -1;
size_t i;
VIR_DEBUG("Checking for disk presence");
......@@ -4244,13 +4243,10 @@ qemuDomainCheckDiskPresence(virQEMUDriverPtr driver,
if (qemuDomainCheckDiskStartupPolicy(driver, vm, idx, cold_boot) >= 0)
continue;
goto error;
return -1;
}
ret = 0;
error:
return ret;
return 0;
}
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册