librpc/ndr Remove unused macros
authorAndrew Bartlett <abartlet@samba.org>
Sat, 20 Feb 2010 00:51:47 +0000 (11:51 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 20 Feb 2010 06:59:13 +0000 (17:59 +1100)
Since the change to the way we pull these OIDs from the wire, these
macros are unused.

Andrew Bartlett

librpc/ndr/ndr_drsuapi.c

index 17f2b7e2ed2b9f7f3a4929ee476f22db00a788bc..b91d5f7def59451753b9bfe969e1bbf5d1cbf9f5 100644 (file)
@@ -66,22 +66,6 @@ void ndr_print_drsuapi_DsReplicaObjectListItemEx(struct ndr_print *ndr, const ch
        }
 }
 
-#define _OID_PUSH_CHECK(call) do { \
-       bool _status; \
-       _status = call; \
-       if (_status != true) { \
-               return ndr_push_error(ndr, NDR_ERR_SUBCONTEXT, "OID Conversion Error: %s\n", __location__); \
-       } \
-} while (0)
-
-#define _OID_PULL_CHECK(call) do { \
-       bool _status; \
-       _status = call; \
-       if (_status != true) { \
-               return ndr_pull_error(ndr, NDR_ERR_SUBCONTEXT, "OID Conversion Error: %s\n", __location__); \
-       } \
-} while (0)
-
 _PUBLIC_ void ndr_print_drsuapi_DsReplicaOID(struct ndr_print *ndr, const char *name, const struct drsuapi_DsReplicaOID *r)
 {
        ndr_print_struct(ndr, name, "drsuapi_DsReplicaOID");