]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:smbd: remove unused msg_ctx argument from smbd_open_socket_for_ip()
authorStefan Metzmacher <metze@samba.org>
Thu, 3 Apr 2025 13:07:05 +0000 (15:07 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 18 Apr 2025 10:17:29 +0000 (10:17 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/smbd/server.c

index eb70742a9c087e30fff9b76a41d34c03d3884543..586d0463c06f2a319654203b4114ee0882522165 100644 (file)
@@ -1551,7 +1551,6 @@ static NTSTATUS smbd_claim_version(struct messaging_context *msg,
 
 static size_t smbd_open_socket_for_ip(struct smbd_parent_context *parent,
                                      struct tevent_context *ev_ctx,
-                                     struct messaging_context *msg_ctx,
                                      const char *smb_ports,
                                      const struct sockaddr_storage *ifss)
 {
@@ -1731,7 +1730,6 @@ static void smbd_addr_changed(struct tevent_req *req)
 
                num_ok = smbd_open_socket_for_ip(state->parent,
                                                 state->ev,
-                                                state->msg_ctx,
                                                 state->ports,
                                                 &addr.u.ss);
                if (num_ok == 0) {