Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy(a)virtuozzo.com>
Reviewed-by: Daniel P. Berrangé <berrange(a)redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413(a)gmail.com>
---
src/libvirt_remote.syms | 1 -
src/rpc/virnetdaemon.c | 13 -------------
src/rpc/virnetdaemon.h | 2 --
3 files changed, 16 deletions(-)
diff --git a/src/libvirt_remote.syms b/src/libvirt_remote.syms
index 335e431..c8f2e31 100644
--- a/src/libvirt_remote.syms
+++ b/src/libvirt_remote.syms
@@ -75,7 +75,6 @@ virNetDaemonAddServer;
virNetDaemonAddShutdownInhibition;
virNetDaemonAddSignalHandler;
virNetDaemonAutoShutdown;
-virNetDaemonClose;
virNetDaemonGetServer;
virNetDaemonGetServers;
virNetDaemonHasClients;
diff --git a/src/rpc/virnetdaemon.c b/src/rpc/virnetdaemon.c
index 1d7f00d..e2f4d5c 100644
--- a/src/rpc/virnetdaemon.c
+++ b/src/rpc/virnetdaemon.c
@@ -967,19 +967,6 @@ daemonServerClose(void *payload,
return 0;
}
-void
-virNetDaemonClose(virNetDaemonPtr dmn)
-{
- if (!dmn)
- return;
-
- virObjectLock(dmn);
-
- virHashForEach(dmn->servers, daemonServerClose, NULL);
-
- virObjectUnlock(dmn);
-}
-
static int
daemonServerHasClients(void *payload,
const void *key G_GNUC_UNUSED,
diff --git a/src/rpc/virnetdaemon.h b/src/rpc/virnetdaemon.h
index 9f7a282..6ae5305 100644
--- a/src/rpc/virnetdaemon.h
+++ b/src/rpc/virnetdaemon.h
@@ -73,8 +73,6 @@ void virNetDaemonRun(virNetDaemonPtr dmn);
void virNetDaemonQuit(virNetDaemonPtr dmn);
-void virNetDaemonClose(virNetDaemonPtr dmn);
-
bool virNetDaemonHasClients(virNetDaemonPtr dmn);
virNetServerPtr virNetDaemonGetServer(virNetDaemonPtr dmn,
--
1.8.3.1