diff options
-rw-r--r-- | source3/smbd/globals.c | 10 | ||||
-rw-r--r-- | source3/smbd/proto.h | 1 |
2 files changed, 0 insertions, 11 deletions
diff --git a/source3/smbd/globals.c b/source3/smbd/globals.c index 70ff22c6ca..3199a37c90 100644 --- a/source3/smbd/globals.c +++ b/source3/smbd/globals.c @@ -117,16 +117,6 @@ struct smbd_server_connection *msg_ctx_to_sconn(struct messaging_context *msg_ct return smbd_server_conn; } -struct messaging_context *smbd_messaging_context(void) -{ - struct messaging_context *msg_ctx = server_messaging_context(); - if (likely(msg_ctx != NULL)) { - return msg_ctx; - } - smb_panic("Could not init smbd's messaging context.\n"); - return NULL; -} - struct memcache *smbd_memcache(void) { if (!smbd_memcache_ctx) { diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index 0cc6b66d63..64cf944320 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -957,7 +957,6 @@ void init_sec_ctx(void); /* The following definitions come from smbd/server.c */ -struct messaging_context *smbd_messaging_context(void); struct memcache *smbd_memcache(void); void delete_and_reload_printers(struct tevent_context *ev, struct messaging_context *msg_ctx); |