s4:rpc_server: remove unused dcesrv_connection_context->private_date
authorStefan Metzmacher <metze@samba.org>
Mon, 10 Dec 2018 22:51:09 +0000 (23:51 +0100)
committerJeremy Allison <jra@samba.org>
Sat, 12 Jan 2019 02:13:39 +0000 (03:13 +0100)
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 <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/rpc_server/dcerpc_server.c
source4/rpc_server/dcerpc_server.h

index a79a569477203eb66753db153f894a1d1b12be11..a79556dfc0065177d1ed1dedcdd926b493fd6eb1 100644 (file)
@@ -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);
index 25ea3931dae1bca4044649abb6a55afd42345e3f..f4ea993520fcef78e84a2ce8facb2b9de3c6775c 100644 (file)
@@ -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
         */