summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-12-13 09:21:58 +0100
committerStefan Metzmacher <metze@samba.org>2011-12-13 12:36:36 +0100
commita131713b96e95e38cc6b6d8469a08d90738bb4fc (patch)
tree35a1f4aeed60332489402f4cee7d88236ff80a24
parent7dc1de73d33b8e5c5ba9fea8ab2f4796030418e1 (diff)
downloadsamba-a131713b96e95e38cc6b6d8469a08d90738bb4fc.tar.gz
samba-a131713b96e95e38cc6b6d8469a08d90738bb4fc.tar.bz2
samba-a131713b96e95e38cc6b6d8469a08d90738bb4fc.zip
s3:smbd/server: remove unused msg_sam_sync()
metze
-rw-r--r--source3/smbd/server.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 948fd7f359..bef1a13859 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -117,20 +117,6 @@ static void killkids(void)
if(am_parent) kill(0,SIGTERM);
}
-/****************************************************************************
- Process a sam sync message - not sure whether to do this here or
- somewhere else.
-****************************************************************************/
-
-static void msg_sam_sync(struct messaging_context *msg,
- void *private_data,
- uint32_t msg_type,
- struct server_id server_id,
- DATA_BLOB *data)
-{
- DEBUG(10, ("** sam sync message received, ignoring\n"));
-}
-
static void msg_exit_server(struct messaging_context *msg,
void *private_data,
uint32_t msg_type,
@@ -748,7 +734,6 @@ static bool open_sockets_smbd(struct smbd_parent_context *parent,
/* Listen to messages */
- messaging_register(msg_ctx, NULL, MSG_SMB_SAM_SYNC, msg_sam_sync);
messaging_register(msg_ctx, NULL, MSG_SHUTDOWN, msg_exit_server);
messaging_register(msg_ctx, ev_ctx, MSG_SMB_CONF_UPDATED,
smb_conf_updated);