diff options
author | Stefan Metzmacher <metze@samba.org> | 2015-09-26 02:43:30 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2016-06-24 14:09:01 +0200 |
commit | d491c6c496c34b7d45c7c99a4f350fa9715be93f (patch) | |
tree | e80507169f7ae58e0069caa63bc3b0c85ebd8f86 | |
parent | f360f47363c7ffa8a25b6b52145f48b6eb593c6c (diff) | |
download | samba-d491c6c496c34b7d45c7c99a4f350fa9715be93f.tar.gz |
s3:rpc_client: remove unused rpc_pipe_client->max_recv_frag
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
-rw-r--r-- | source3/rpc_client/cli_pipe.c | 4 | ||||
-rw-r--r-- | source3/rpc_client/rpc_client.h | 1 | ||||
-rw-r--r-- | source3/rpc_server/rpc_ncacn_np.c | 2 |
3 files changed, 0 insertions, 7 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 97f49446312..47e2854d862 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -1941,7 +1941,6 @@ static void rpc_pipe_bind_step_one_done(struct tevent_req *subreq) } state->cli->max_xmit_frag = pkt->u.bind_ack.max_xmit_frag; - state->cli->max_recv_frag = pkt->u.bind_ack.max_recv_frag; switch(pauth->auth_type) { @@ -2655,7 +2654,6 @@ static NTSTATUS rpc_pipe_open_tcp_port(TALLOC_CTX *mem_ctx, const char *host, } result->max_xmit_frag = RPC_MAX_PDU_FRAG_LEN; - result->max_recv_frag = RPC_MAX_PDU_FRAG_LEN; if (ss_addr == NULL) { if (!resolve_name(host, &addr, NBT_NAME_SERVER, false)) { @@ -2903,7 +2901,6 @@ NTSTATUS rpc_pipe_open_ncalrpc(TALLOC_CTX *mem_ctx, const char *socket_path, } result->max_xmit_frag = RPC_MAX_PDU_FRAG_LEN; - result->max_recv_frag = RPC_MAX_PDU_FRAG_LEN; fd = socket(AF_UNIX, SOCK_STREAM, 0); if (fd == -1) { @@ -2995,7 +2992,6 @@ static NTSTATUS rpc_pipe_open_np(struct cli_state *cli, result, "\\\\%s", result->desthost); result->max_xmit_frag = RPC_MAX_PDU_FRAG_LEN; - result->max_recv_frag = RPC_MAX_PDU_FRAG_LEN; if ((result->desthost == NULL) || (result->srv_name_slash == NULL)) { TALLOC_FREE(result); diff --git a/source3/rpc_client/rpc_client.h b/source3/rpc_client/rpc_client.h index b033da6c3d7..f1be075fea9 100644 --- a/source3/rpc_client/rpc_client.h +++ b/source3/rpc_client/rpc_client.h @@ -45,7 +45,6 @@ struct rpc_pipe_client { char *srv_name_slash; uint16_t max_xmit_frag; - uint16_t max_recv_frag; struct pipe_auth_data *auth; }; diff --git a/source3/rpc_server/rpc_ncacn_np.c b/source3/rpc_server/rpc_ncacn_np.c index 5647596f559..f9c73de81e5 100644 --- a/source3/rpc_server/rpc_ncacn_np.c +++ b/source3/rpc_server/rpc_ncacn_np.c @@ -629,7 +629,6 @@ NTSTATUS rpc_pipe_open_internal(TALLOC_CTX *mem_ctx, } result->max_xmit_frag = -1; - result->max_recv_frag = -1; status = rpcint_binding_handle_ex(result, abstract_syntax, @@ -954,7 +953,6 @@ static NTSTATUS rpc_pipe_open_external(TALLOC_CTX *mem_ctx, } result->max_xmit_frag = RPC_MAX_PDU_FRAG_LEN; - result->max_recv_frag = RPC_MAX_PDU_FRAG_LEN; status = rpc_transport_tstream_init(result, &proxy_state->npipe, |