summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2021-01-16 17:32:53 +0100
committerJeremy Allison <jra@samba.org>2021-01-26 00:10:31 +0000
commitf0aa39017b62d46a99e73aa62e8208281382d479 (patch)
tree935ef4f8e489e55537d2329584262d2e60d92db0 /source3/rpc_server
parentda3b00f5511d83bdc347eaff9c031390fea41802 (diff)
downloadsamba-f0aa39017b62d46a99e73aa62e8208281382d479.tar.gz
rpc_server: Remove an unused function parameter
dcesrv_create_endpoint_sockets() doesn't need dce_ctx. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/rpc_service_setup.c2
-rw-r--r--source3/rpc_server/rpc_service_setup.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/source3/rpc_server/rpc_service_setup.c b/source3/rpc_server/rpc_service_setup.c
index 94cf0de2c00..abdd3b81af8 100644
--- a/source3/rpc_server/rpc_service_setup.c
+++ b/source3/rpc_server/rpc_service_setup.c
@@ -87,7 +87,6 @@ NTSTATUS rpc_setup_embedded(struct tevent_context *ev_ctx,
NTSTATUS dcesrv_create_endpoint_sockets(struct tevent_context *ev_ctx,
struct messaging_context *msg_ctx,
- struct dcesrv_context *dce_ctx,
struct dcesrv_endpoint *e,
TALLOC_CTX *mem_ctx,
size_t *pnum_fds,
@@ -188,7 +187,6 @@ NTSTATUS dcesrv_create_endpoint_list_pf_listen_fds(
status = dcesrv_create_endpoint_sockets(
ev_ctx,
msg_ctx,
- dce_ctx,
e,
mem_ctx,
&num_ep_fds,
diff --git a/source3/rpc_server/rpc_service_setup.h b/source3/rpc_server/rpc_service_setup.h
index 0288dab539a..668561794ff 100644
--- a/source3/rpc_server/rpc_service_setup.h
+++ b/source3/rpc_server/rpc_service_setup.h
@@ -40,7 +40,6 @@ NTSTATUS dcesrv_setup_endpoint_sockets(struct tevent_context *ev_ctx,
NTSTATUS dcesrv_create_endpoint_sockets(struct tevent_context *ev_ctx,
struct messaging_context *msg_ctx,
- struct dcesrv_context *dce_ctx,
struct dcesrv_endpoint *e,
TALLOC_CTX *mem_ctx,
size_t *pnum_fds,