diff options
author | Michael Adam <obnox@samba.org> | 2016-02-05 11:32:18 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2016-02-06 21:48:17 +0100 |
commit | 476672b647e44898a6de8894b23e598ad13b1fcf (patch) | |
tree | fc67ec55ef70436208321dd38061147b138fa8ce /source4/librpc | |
parent | 5d759bd0d4bf7cae8b54b69af5ecacb7987c2a0f (diff) | |
download | samba-476672b647e44898a6de8894b23e598ad13b1fcf.tar.gz |
dlist: remove unneeded type argument from DLIST_ADD_END()
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/rpc/dcerpc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c index 6ce0d352f1d..33c370694a1 100644 --- a/source4/librpc/rpc/dcerpc.c +++ b/source4/librpc/rpc/dcerpc.c @@ -1245,7 +1245,7 @@ struct tevent_req *dcerpc_bind_send(TALLOC_CTX *mem_ctx, subreq->async.callback = dcerpc_bind_fail_handler; subreq->p = p; subreq->recv_handler = dcerpc_bind_recv_handler; - DLIST_ADD_END(p->conn->pending, subreq, struct rpc_request *); + DLIST_ADD_END(p->conn->pending, subreq); talloc_set_destructor(subreq, dcerpc_req_dequeue); status = dcerpc_send_request(p->conn, &blob, true); @@ -1603,7 +1603,7 @@ static struct rpc_request *dcerpc_request_send(TALLOC_CTX *mem_ctx, req->request_data.length = stub_data->length; req->request_data.data = stub_data->data; - DLIST_ADD_END(p->conn->request_queue, req, struct rpc_request *); + DLIST_ADD_END(p->conn->request_queue, req); talloc_set_destructor(req, dcerpc_req_dequeue); dcerpc_schedule_io_trigger(p->conn); @@ -2141,7 +2141,7 @@ struct tevent_req *dcerpc_alter_context_send(TALLOC_CTX *mem_ctx, subreq->async.callback = dcerpc_alter_context_fail_handler; subreq->p = p; subreq->recv_handler = dcerpc_alter_context_recv_handler; - DLIST_ADD_END(p->conn->pending, subreq, struct rpc_request *); + DLIST_ADD_END(p->conn->pending, subreq); talloc_set_destructor(subreq, dcerpc_req_dequeue); status = dcerpc_send_request(p->conn, &blob, true); |