提交 3d211da2 编写于 作者: N Nikolay Shirokovskiy 提交者: Maxim Nestratov

vz: remove redundant variable in prlsdkHandleVmAddedEvent

上级 2abef7fb
......@@ -2036,7 +2036,6 @@ prlsdkHandleVmAddedEvent(vzDriverPtr driver,
unsigned char *uuid)
{
virDomainObjPtr dom = NULL;
PRL_HANDLE sdkdom = PRL_INVALID_HANDLE;
if (!(dom = virDomainObjListFindByUUID(driver->domains, uuid)) &&
!(dom = prlsdkAddDomainByUUID(driver, uuid)))
......@@ -2048,7 +2047,6 @@ prlsdkHandleVmAddedEvent(vzDriverPtr driver,
cleanup:
if (dom)
virObjectUnlock(dom);
PrlHandle_Free(sdkdom);
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册