[PATCH] Remove obsolete remoteDispatchOOMError method

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

 



No new code should be using remoteDispatchOOMError()

* daemon/dispatch.c, daemon/dispatch.h: Remove remoteDispatchOOMError
---
 daemon/dispatch.c |    8 --------
 daemon/dispatch.h |    1 -
 2 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/daemon/dispatch.c b/daemon/dispatch.c
index 7453451..010be1e 100644
--- a/daemon/dispatch.c
+++ b/daemon/dispatch.c
@@ -104,14 +104,6 @@ void remoteDispatchGenericError (remote_error *rerr)
 }
 
 
-void remoteDispatchOOMError (remote_error *rerr)
-{
-    remoteDispatchStringError(rerr,
-                              VIR_ERR_NO_MEMORY,
-                              "out of memory");
-}
-
-
 void remoteDispatchError(remote_error *rerr)
 {
     virErrorPtr verr = virGetLastError();
diff --git a/daemon/dispatch.h b/daemon/dispatch.h
index 79d35ac..f24f494 100644
--- a/daemon/dispatch.h
+++ b/daemon/dispatch.h
@@ -45,7 +45,6 @@ void remoteDispatchFormatError (remote_error *rerr,
 
 void remoteDispatchAuthError (remote_error *rerr);
 void remoteDispatchGenericError (remote_error *rerr);
-void remoteDispatchOOMError (remote_error *rerr);
 void remoteDispatchError(remote_error *rerr);
 
 
-- 
1.7.4.4

--
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]