mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
smbd: remove unused smbd_server_connection->ev_ctx
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Jun 18 11:46:36 CEST 2018 on sn-devel-144
This commit is contained in:
parent
894e5001c7
commit
721fbbfa70
@ -875,7 +875,6 @@ struct smbd_server_connection {
|
|||||||
const struct tsocket_address *local_address;
|
const struct tsocket_address *local_address;
|
||||||
const struct tsocket_address *remote_address;
|
const struct tsocket_address *remote_address;
|
||||||
const char *remote_hostname;
|
const char *remote_hostname;
|
||||||
struct tevent_context *ev_ctx;
|
|
||||||
struct tevent_context *raw_ev_ctx;
|
struct tevent_context *raw_ev_ctx;
|
||||||
struct tevent_context *root_ev_ctx;
|
struct tevent_context *root_ev_ctx;
|
||||||
struct tevent_context *guest_ev_ctx;
|
struct tevent_context *guest_ev_ctx;
|
||||||
|
@ -263,7 +263,6 @@ static NTSTATUS create_conn_struct_as_root(TALLOC_CTX *ctx,
|
|||||||
return NT_STATUS_NO_MEMORY;
|
return NT_STATUS_NO_MEMORY;
|
||||||
}
|
}
|
||||||
|
|
||||||
sconn->ev_ctx = sconn->raw_ev_ctx;
|
|
||||||
sconn->root_ev_ctx = sconn->raw_ev_ctx;
|
sconn->root_ev_ctx = sconn->raw_ev_ctx;
|
||||||
sconn->guest_ev_ctx = sconn->raw_ev_ctx;
|
sconn->guest_ev_ctx = sconn->raw_ev_ctx;
|
||||||
sconn->msg_ctx = msg;
|
sconn->msg_ctx = msg;
|
||||||
|
@ -3931,7 +3931,6 @@ void smbd_process(struct tevent_context *ev_ctx,
|
|||||||
client->sconn = sconn;
|
client->sconn = sconn;
|
||||||
sconn->client = client;
|
sconn->client = client;
|
||||||
|
|
||||||
sconn->ev_ctx = ev_ctx;
|
|
||||||
sconn->raw_ev_ctx = ev_ctx;
|
sconn->raw_ev_ctx = ev_ctx;
|
||||||
sconn->root_ev_ctx = ev_ctx;
|
sconn->root_ev_ctx = ev_ctx;
|
||||||
sconn->guest_ev_ctx = ev_ctx;
|
sconn->guest_ev_ctx = ev_ctx;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user