From: Daniel P. Berrange Date: Mon, 16 May 2011 17:27:53 +0000 (+0100) Subject: Remove obsolete remoteDispatchOOMError method X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=55052494dc111957055d696d1d5f703024a29662;p=libvirt.git Remove obsolete remoteDispatchOOMError method No new code should be using remoteDispatchOOMError() * daemon/dispatch.c, daemon/dispatch.h: Remove remoteDispatchOOMError --- diff --git a/daemon/dispatch.c b/daemon/dispatch.c index 74534519f6..010be1ef50 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 79d35ac4a1..f24f4946fe 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);