Signed-off-by: Dmitry Guryanov <dguryanov(a)parallels.com>
---
src/parallels/parallels_driver.c | 5 -----
src/parallels/parallels_utils.h | 1 -
2 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/src/parallels/parallels_driver.c b/src/parallels/parallels_driver.c
index 72e32ff..96a8ab1 100644
--- a/src/parallels/parallels_driver.c
+++ b/src/parallels/parallels_driver.c
@@ -671,9 +671,6 @@ parallelsOpenDefault(virConnectPtr conn)
if (!(privconn->caps = parallelsBuildCapabilities()))
goto error;
- if (!(privconn->domains = parallelsGetDomains(privconn)))
- goto error;
-
conn->privateData = privconn;
return VIR_DRV_OPEN_SUCCESS;
@@ -725,8 +722,6 @@ parallelsClose(virConnectPtr conn)
parallelsDriverLock(privconn);
virCapabilitiesFree(privconn->caps);
- virDomainObjListDeinit(privconn->domains);
- VIR_FREE(privconn->domains);
conn->privateData = NULL;
parallelsDriverUnlock(privconn);
diff --git a/src/parallels/parallels_utils.h b/src/parallels/parallels_utils.h
index 3468c1d..16a880f 100644
--- a/src/parallels/parallels_utils.h
+++ b/src/parallels/parallels_utils.h
@@ -32,7 +32,6 @@
struct _parallelsConn {
virMutex lock;
- virDomainObjListPtr domains;
virStoragePoolObjList pools;
virCapsPtr caps;
virDomainEventStatePtr domainEventState;
--
1.7.1