diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/locking/locking.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c index 0003f94d18..5da7595737 100644 --- a/source3/locking/locking.c +++ b/source3/locking/locking.c @@ -1081,12 +1081,8 @@ bool get_delete_on_close_token(struct share_mode_lock *lck, if (dt == NULL) { return false; } - if (pp_nt_tok) { - *pp_nt_tok = dt->delete_nt_token; - } - if (pp_tok) { - *pp_tok = dt->delete_token; - } + *pp_nt_tok = dt->delete_nt_token; + *pp_tok = dt->delete_token; return true; } |