mirror of https://gitee.com/openkylin/libvirt.git
vz: remove unused struct field
In commit 7039bb3c
we have removed code that saves uuid to vzDomObj.uuid
So this field is no longer needed.
This commit is contained in:
parent
2286986a9c
commit
a7b2257e9a
|
@ -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) {
|
||||
|
|
|
@ -76,7 +76,6 @@ typedef struct _vzCountersCache vzCountersCache;
|
|||
|
||||
struct vzDomObj {
|
||||
int id;
|
||||
char *uuid;
|
||||
char *home;
|
||||
PRL_HANDLE sdkdom;
|
||||
vzCountersCache cache;
|
||||
|
|
Loading…
Reference in New Issue