mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
s3:smb2_create: remove unused timer pointer from smbd_smb2_create_state
This finishes commits4e4376164b
and8da5a0f1e3
. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
02146ea5ee
commit
205fe4db8a
@ -431,7 +431,6 @@ struct smbd_smb2_create_state {
|
||||
struct smbd_smb2_request *smb2req;
|
||||
struct smb_request *smb1req;
|
||||
bool open_was_deferred;
|
||||
struct tevent_timer *te;
|
||||
struct tevent_immediate *im;
|
||||
struct timeval request_time;
|
||||
struct file_id id;
|
||||
@ -1566,8 +1565,6 @@ static void remove_deferred_open_message_smb2_internal(struct smbd_smb2_request
|
||||
(unsigned long long)mid ));
|
||||
|
||||
state->open_was_deferred = false;
|
||||
/* Ensure we don't have any outstanding timer event. */
|
||||
TALLOC_FREE(state->te);
|
||||
/* Ensure we don't have any outstanding immediate event. */
|
||||
TALLOC_FREE(state->im);
|
||||
}
|
||||
@ -1635,8 +1632,6 @@ bool schedule_deferred_open_message_smb2(
|
||||
return false;
|
||||
}
|
||||
|
||||
/* Ensure we don't have any outstanding timer event. */
|
||||
TALLOC_FREE(state->te);
|
||||
/* Ensure we don't have any outstanding immediate event. */
|
||||
TALLOC_FREE(state->im);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user