summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/include/messages.h1
-rw-r--r--source3/lib/messages.c5
2 files changed, 0 insertions, 6 deletions
diff --git a/source3/include/messages.h b/source3/include/messages.h
index e3538f1765..2161a77d28 100644
--- a/source3/include/messages.h
+++ b/source3/include/messages.h
@@ -107,7 +107,6 @@ bool message_send_all(struct messaging_context *msg_ctx,
int msg_type,
const void *buf, size_t len,
int *n_sent);
-struct event_context *messaging_event_context(struct messaging_context *msg_ctx);
struct messaging_context *messaging_init(TALLOC_CTX *mem_ctx,
struct event_context *ev);
diff --git a/source3/lib/messages.c b/source3/lib/messages.c
index 421d88375d..12e3a48b38 100644
--- a/source3/lib/messages.c
+++ b/source3/lib/messages.c
@@ -176,11 +176,6 @@ bool message_send_all(struct messaging_context *msg_ctx,
return true;
}
-struct event_context *messaging_event_context(struct messaging_context *msg_ctx)
-{
- return msg_ctx->event_ctx;
-}
-
struct messaging_context *messaging_init(TALLOC_CTX *mem_ctx,
struct event_context *ev)
{