]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:messaging: remove unused messaging_init_client()
authorRalph Boehme <slow@samba.org>
Tue, 10 Jul 2018 14:29:46 +0000 (16:29 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 9 Oct 2018 09:29:23 +0000 (11:29 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13465

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
(cherry picked from commit f56496b11469f0e9af9ba81cefb796ca1febabb1)

source3/include/messages.h
source3/lib/messages.c

index 29c394af31753d183e2fedde5c9e022d469c6e5a..f7b40664b0b29b188bdb2f47795caf57a6edb253 100644 (file)
@@ -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(
index 5a31f3414d74ecc3c4776f7e276905ec1257f84d..d946aa770b7150d156f8cd087c81dcebae66c6ed 100644 (file)
@@ -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;