summaryrefslogtreecommitdiff
path: root/source4/rpc_server/common
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-04-29 11:48:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:05:14 -0500
commit657325d684b838ee7dd6379a4a6034c1fedabcae (patch)
tree1cdb644eee717fbdb46bf4e660801f0c896cd960 /source4/rpc_server/common
parenta3b8cfbc8f5b18a342dee79fd9928cbcc2fbb025 (diff)
downloadsamba-657325d684b838ee7dd6379a4a6034c1fedabcae.tar.gz
samba-657325d684b838ee7dd6379a4a6034c1fedabcae.tar.bz2
samba-657325d684b838ee7dd6379a4a6034c1fedabcae.zip
r15319: remove unneeded macros
metze (This used to be commit 9611c8aa9ce0eba1703d5eecc52e67a9e5fba15f)
Diffstat (limited to 'source4/rpc_server/common')
-rw-r--r--source4/rpc_server/common/common.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/source4/rpc_server/common/common.h b/source4/rpc_server/common/common.h
index 5f0dd9127e..0dc3814c71 100644
--- a/source4/rpc_server/common/common.h
+++ b/source4/rpc_server/common/common.h
@@ -21,14 +21,6 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#define NTSTATUS_TALLOC_CHECK(x) do {\
- if (!(x)) return NT_STATUS_NO_MEMORY;\
-} while (0)
-
-#define WERR_TALLOC_CHECK(x) do {\
- if (!(x)) return WERR_NOMEM;\
-} while (0)
-
/* a useful macro for generating a RPC fault in the backend code */
#define DCESRV_FAULT(code) do { \
dce_call->fault_code = code; \