1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

s3:smbd/globals: remove unused msg_ctx_to_sconn()

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Dec 15 14:24:59 CET 2011 on sn-devel-104
This commit is contained in:
Stefan Metzmacher 2011-12-14 13:26:36 +01:00
parent 03455519e7
commit 19078b9b05
2 changed files with 0 additions and 15 deletions

View File

@ -104,19 +104,6 @@ bool exit_firsttime = true;
struct smbd_server_connection *smbd_server_conn = NULL;
struct smbd_server_connection *msg_ctx_to_sconn(struct messaging_context *msg_ctx)
{
struct server_id my_id, msg_id;
my_id = messaging_server_id(smbd_server_conn->msg_ctx);
msg_id = messaging_server_id(msg_ctx);
if (!procid_equal(&my_id, &msg_id)) {
return NULL;
}
return smbd_server_conn;
}
struct memcache *smbd_memcache(void)
{
if (!smbd_memcache_ctx) {

View File

@ -614,6 +614,4 @@ struct smbd_server_connection {
extern struct smbd_server_connection *smbd_server_conn;
struct smbd_server_connection *msg_ctx_to_sconn(struct messaging_context *msg_ctx);
void smbd_init_globals(void);