]> xenbits.xensource.com Git - libvirt.git/commitdiff
vz: remove unused struct field
authorMikhail Feoktistov <mfeoktistov@virtuozzo.com>
Wed, 10 Feb 2016 09:39:12 +0000 (12:39 +0300)
committerMaxim Nestratov <mnestratov@virtuozzo.com>
Fri, 12 Feb 2016 10:31:58 +0000 (13:31 +0300)
In commit 7039bb3c we have removed code that saves uuid to vzDomObj.uuid
So this field is no longer needed.

src/vz/vz_sdk.c
src/vz/vz_utils.h

index a47c5d68756e6203190fc04ddbff5b7ed2208bf3..3b7d7b3ad2b5ec7f0e5d80289fd2b322f66a4972 100644 (file)
@@ -419,7 +419,6 @@ prlsdkDomObjFreePrivate(void *p)
     PrlHandle_Free(pdom->sdkdom);
     PrlHandle_Free(pdom->cache.stats);
     virCondDestroy(&pdom->cache.cond);
-    VIR_FREE(pdom->uuid);
     VIR_FREE(pdom->home);
     VIR_FREE(p);
 };
@@ -1287,10 +1286,6 @@ prlsdkLoadDomain(vzConnPtr privconn,
 
     def->id = -1;
 
-    /* we will remove this field in the near future, so let's set it
-     * to NULL temporarily */
-    pdom->uuid = NULL;
-
     pdom->cache.stats = PRL_INVALID_HANDLE;
     pdom->cache.count = -1;
     if (virCondInit(&pdom->cache.cond) < 0) {
index b7a4c816d8556b96e8113353d6fe3dee56cce37b..417f821d412a9561975f3617cb874572cbe14592 100644 (file)
@@ -76,7 +76,6 @@ typedef struct _vzCountersCache vzCountersCache;
 
 struct vzDomObj {
     int id;
-    char *uuid;
     char *home;
     PRL_HANDLE sdkdom;
     vzCountersCache cache;