mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 23:07:44 +00:00
vz_sdk.c: remove unneeded cleanup label
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
2d13431d45
commit
5b05d99dab
@ -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;
|
||||
return -1;
|
||||
|
||||
ret = 0;
|
||||
|
||||
cleanup:
|
||||
return ret;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int prlsdkSetCpuCount(virDomainObjPtr dom, unsigned int count)
|
||||
|
Loading…
Reference in New Issue
Block a user