nsswitch: remove unused TALLOC_* defines in pam_winbind.h
authorStefan Metzmacher <metze@samba.org>
Tue, 10 Jan 2017 14:08:48 +0000 (15:08 +0100)
committerVolker Lendecke <vl@samba.org>
Wed, 11 Jan 2017 15:39:21 +0000 (16:39 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
nsswitch/pam_winbind.h

index 6b65c462eaa6d7474de87a5462e3def86e1b451c..d468efbb56a264835da4794128fad416bee29508 100644 (file)
@@ -216,10 +216,4 @@ struct pwb_context {
        struct wbcContext *wbc_ctx;
 };
 
-#ifndef TALLOC_FREE
-#define TALLOC_FREE(ctx) do { talloc_free(ctx); ctx=NULL; } while(0)
-#endif
-#define TALLOC_ZERO_P(ctx, type) (type *)_talloc_zero(ctx, sizeof(type), #type)
-#define TALLOC_P(ctx, type) (type *)talloc_named_const(ctx, sizeof(type), #type)
-
 #endif /* _NSSWITCH_PAM_WINBIND_H_ */