From 18cd5c525eddcf260d4b9294ae13a03d0638aa2c Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Tue, 10 Jul 2018 16:29:46 +0200 Subject: [PATCH] s3:messaging: remove unused messaging_init_client() BUG: https://bugzilla.samba.org/show_bug.cgi?id=13465 Signed-off-by: Ralph Boehme Reviewed-by: Christof Schmitt (cherry picked from commit f56496b11469f0e9af9ba81cefb796ca1febabb1) --- source3/include/messages.h | 3 --- source3/lib/messages.c | 9 --------- 2 files changed, 12 deletions(-) diff --git a/source3/include/messages.h b/source3/include/messages.h index 29c394af317..f7b40664b0b 100644 --- a/source3/include/messages.h +++ b/source3/include/messages.h @@ -46,9 +46,6 @@ struct messaging_rec; struct messaging_context *messaging_init(TALLOC_CTX *mem_ctx, struct tevent_context *ev); -NTSTATUS messaging_init_client(TALLOC_CTX *mem_ctx, - struct tevent_context *ev, - struct messaging_context **pmsg_ctx); struct server_id messaging_server_id(const struct messaging_context *msg_ctx); struct tevent_context *messaging_tevent_context( diff --git a/source3/lib/messages.c b/source3/lib/messages.c index 5a31f3414d7..d946aa770b7 100644 --- a/source3/lib/messages.c +++ b/source3/lib/messages.c @@ -595,15 +595,6 @@ struct messaging_context *messaging_init(TALLOC_CTX *mem_ctx, return ctx; } -NTSTATUS messaging_init_client(TALLOC_CTX *mem_ctx, - struct tevent_context *ev, - struct messaging_context **pmsg_ctx) -{ - return messaging_init_internal(mem_ctx, - ev, - pmsg_ctx); -} - struct server_id messaging_server_id(const struct messaging_context *msg_ctx) { return msg_ctx->id; -- 2.47.2