[PATCH 3/9] rpc: remove unused virNetClientSendNoReply

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@xxxxxxxxxxxxx>
---
 src/libvirt_remote.syms |  1 -
 src/rpc/virnetclient.c  | 22 ----------------------
 2 files changed, 23 deletions(-)

diff --git a/src/libvirt_remote.syms b/src/libvirt_remote.syms
index 704f7ea..88745f2 100644
--- a/src/libvirt_remote.syms
+++ b/src/libvirt_remote.syms
@@ -38,7 +38,6 @@ virNetClientRegisterKeepAlive;
 virNetClientRemoteAddrStringSASL;
 virNetClientRemoveStream;
 virNetClientSendNonBlock;
-virNetClientSendNoReply;
 virNetClientSendStream;
 virNetClientSendWithReply;
 virNetClientSetCloseCallback;
diff --git a/src/rpc/virnetclient.c b/src/rpc/virnetclient.c
index 29c4dc5..c102cdc 100644
--- a/src/rpc/virnetclient.c
+++ b/src/rpc/virnetclient.c
@@ -2160,28 +2160,6 @@ int virNetClientSendWithReply(virNetClientPtr client,
 
 
 /*
- * @msg: a message allocated on heap or stack
- *
- * Send a message synchronously, without any reply
- *
- * The caller is responsible for free'ing @msg if it was allocated
- * on the heap
- *
- * Returns 0 on success, -1 on failure
- */
-int virNetClientSendNoReply(virNetClientPtr client,
-                            virNetMessagePtr msg)
-{
-    int ret;
-    virObjectLock(client);
-    ret = virNetClientSendInternal(client, msg, false, false);
-    virObjectUnlock(client);
-    if (ret < 0)
-        return -1;
-    return 0;
-}
-
-/*
  * @msg: a message allocated on the heap.
  *
  * Send a message asynchronously, without any reply
-- 
1.8.3.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux