From d10c7378d96d322910e87c21a1a3a3b28b229687 Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Tue, 13 Nov 2012 13:53:35 -0800 Subject: [PATCH] smbd_open_one_socket does not use the messaging_context variable so why pass it in? Reviewed by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Wed Nov 14 02:19:46 CET 2012 on sn-devel-104 --- source3/smbd/server.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/source3/smbd/server.c b/source3/smbd/server.c index f33046b1ac0..1cd92882a96 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -662,7 +662,6 @@ static void smbd_accept_connection(struct tevent_context *ev, static bool smbd_open_one_socket(struct smbd_parent_context *parent, struct tevent_context *ev_ctx, - struct messaging_context *msg_ctx, const struct sockaddr_storage *ifss, uint16_t port) { @@ -792,7 +791,6 @@ static bool open_sockets_smbd(struct smbd_parent_context *parent, if (!smbd_open_one_socket(parent, ev_ctx, - msg_ctx, ifss, port)) { return false; @@ -834,7 +832,6 @@ static bool open_sockets_smbd(struct smbd_parent_context *parent, if (!smbd_open_one_socket(parent, ev_ctx, - msg_ctx, &ss, port)) { return false; -- 2.11.4.GIT