The vbox driver can use the main hypervisor private data and
so does not need to use the storage/network private data fields.
---
src/vbox/vbox_network.c | 6 +++---
src/vbox/vbox_storage.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/vbox/vbox_network.c b/src/vbox/vbox_network.c
index 7472537..a6079b4 100644
--- a/src/vbox/vbox_network.c
+++ b/src/vbox/vbox_network.c
@@ -102,17 +102,17 @@ vboxNetworkOpen(virConnectPtr conn,
goto cleanup;
VIR_DEBUG("network initialized");
- /* conn->networkPrivateData = some network specific data */
+
return VIR_DRV_OPEN_SUCCESS;
cleanup:
return VIR_DRV_OPEN_DECLINED;
}
-static int vboxNetworkClose(virConnectPtr conn)
+static int vboxNetworkClose(virConnectPtr conn ATTRIBUTE_UNUSED)
{
VIR_DEBUG("network uninitialized");
- conn->networkPrivateData = NULL;
+
return 0;
}
diff --git a/src/vbox/vbox_storage.c b/src/vbox/vbox_storage.c
index 194484c..3af5f94 100644
--- a/src/vbox/vbox_storage.c
+++ b/src/vbox/vbox_storage.c
@@ -58,14 +58,14 @@ vboxStorageOpen(virConnectPtr conn,
return VIR_DRV_OPEN_ERROR;
VIR_DEBUG("vbox storage initialized");
- /* conn->storagePrivateData = some storage specific data */
+
return VIR_DRV_OPEN_SUCCESS;
}
-static int vboxStorageClose(virConnectPtr conn)
+static int vboxStorageClose(virConnectPtr conn ATTRIBUTE_UNUSED)
{
VIR_DEBUG("vbox storage uninitialized");
- conn->storagePrivateData = NULL;
+
return 0;
}
--
2.1.0