From: Stefan Metzmacher Date: Mon, 10 Dec 2018 22:51:09 +0000 (+0100) Subject: s4:rpc_server: remove unused dcesrv_connection_context->private_date X-Git-Tag: talloc-2.1.15~61 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=28f4cb442c3c08ea761776012036b30f7b9dbd7d;p=thirdparty%2Fsamba.git s4:rpc_server: remove unused dcesrv_connection_context->private_date dcesrv_iface_state_{create,find}_{assoc,conn}() should be used instead. BUG: https://bugzilla.samba.org/show_bug.cgi?id=7113 BUG: https://bugzilla.samba.org/show_bug.cgi?id=11892 Signed-off-by: Stefan Metzmacher Reviewed-by: Jeremy Allison --- diff --git a/source4/rpc_server/dcerpc_server.c b/source4/rpc_server/dcerpc_server.c index a79a5694772..a79556dfc00 100644 --- a/source4/rpc_server/dcerpc_server.c +++ b/source4/rpc_server/dcerpc_server.c @@ -1517,7 +1517,6 @@ static NTSTATUS dcesrv_check_or_create_context(struct dcesrv_call_state *call, context->context_id = ctx->context_id; context->iface = iface; context->transfer_syntax = *selected_transfer; - context->private_data = NULL; DLIST_ADD(call->conn->contexts, context); call->context = context; talloc_set_destructor(context, dcesrv_connection_context_destructor); diff --git a/source4/rpc_server/dcerpc_server.h b/source4/rpc_server/dcerpc_server.h index 25ea3931dae..f4ea993520f 100644 --- a/source4/rpc_server/dcerpc_server.h +++ b/source4/rpc_server/dcerpc_server.h @@ -220,9 +220,6 @@ struct dcesrv_connection_context { /* the ndr function table for the chosen interface */ const struct dcesrv_interface *iface; - /* private data for the interface implementation */ - void *private_data; - /* * the minimum required auth level for this interface */