]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: Remove the now-unused TALLOC() macro
authorVolker Lendecke <vl@samba.org>
Fri, 17 Oct 2025 12:26:32 +0000 (14:26 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 10 Nov 2025 13:29:30 +0000 (13:29 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
source3/include/smb_macros.h

index 3192cbe11d82ad6e95e0cc852ceadf2d653b34c1..da2e5d591c60d6245a9f5395f2114a55719eeee1 100644 (file)
@@ -211,7 +211,6 @@ copy an IP address from one buffer to another
 #define SMB_XMALLOC_P(type) (type *)smb_xmalloc_array(sizeof(type),1)
 #define SMB_XMALLOC_ARRAY(type,count) (type *)smb_xmalloc_array(sizeof(type),(count))
 
-#define TALLOC(ctx, size) talloc_named_const(ctx, size, __location__)
 #define TALLOC_SIZE(ctx, size) talloc_named_const(ctx, size, __location__)
 #define TALLOC_REALLOC(ctx, ptr, count) _talloc_realloc(ctx, ptr, count, __location__)
 #define talloc_destroy(ctx) talloc_free(ctx)