From: Ralph Boehme Date: Tue, 10 Jul 2018 14:29:46 +0000 (+0200) Subject: s3:messaging: remove unused messaging_init_client() X-Git-Tag: tdb-1.3.17~1701 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f56496b11469f0e9af9ba81cefb796ca1febabb1;p=thirdparty%2Fsamba.git 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 --- 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 cf6c1ce9c5a..aa899142333 100644 --- a/source3/lib/messages.c +++ b/source3/lib/messages.c @@ -635,15 +635,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;