From 3d211da27b1d1f5ae2e0618efbd766e081045db9 Mon Sep 17 00:00:00 2001 From: Nikolay Shirokovskiy Date: Wed, 20 Jul 2016 18:00:31 +0300 Subject: [PATCH] vz: remove redundant variable in prlsdkHandleVmAddedEvent --- src/vz/vz_sdk.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/vz/vz_sdk.c b/src/vz/vz_sdk.c index 6b5adbf96b..5390ead50a 100644 --- a/src/vz/vz_sdk.c +++ b/src/vz/vz_sdk.c @@ -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; }