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