提交 5b05d99d 编写于 作者: D Daniel Henrique Barboza 提交者: Ján Tomko

vz_sdk.c: remove unneeded cleanup label

Signed-off-by: NDaniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: NJán Tomko <jtomko@redhat.com>
上级 2d13431d
......@@ -4825,7 +4825,6 @@ int prlsdkMigrate(virDomainObjPtr dom, virURIPtr uri,
const char *dname,
unsigned int flags)
{
int ret = -1;
vzDomObjPtr privdom = dom->privateData;
PRL_HANDLE job = PRL_INVALID_HANDLE;
char uuidstr[VIR_UUID_STRING_BRACED_BUFLEN];
......@@ -4845,12 +4844,9 @@ int prlsdkMigrate(virDomainObjPtr dom, virURIPtr uri,
);
if (PRL_FAILED(waitDomainJob(job, dom)))
goto cleanup;
ret = 0;
return -1;
cleanup:
return ret;
return 0;
}
int prlsdkSetCpuCount(virDomainObjPtr dom, unsigned int count)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册