diff options
author | Volker Lendecke <vl@samba.org> | 2019-08-26 16:45:14 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-09-17 22:49:38 +0000 |
commit | 5709856138d3149caf019bf70f9acf673efedec7 (patch) | |
tree | 3cf3f96f8a418f85da6d272b531913427035781a /source3/locking | |
parent | 609143adb68b05dbfa13db0f9289a33b53919a71 (diff) | |
download | samba-5709856138d3149caf019bf70f9acf673efedec7.tar.gz |
smbd: Avoid duplicate assignments
remove_share_mode_lease() already does this
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/locking')
-rw-r--r-- | source3/locking/locking.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c index e7b8fd3a503..6e1e577b468 100644 --- a/source3/locking/locking.c +++ b/source3/locking/locking.c @@ -889,7 +889,6 @@ bool del_share_mode(struct share_mode_lock *lck, files_struct *fsp) remove_share_mode_lease(lck->data, e); *e = lck->data->share_modes[lck->data->num_share_modes-1]; lck->data->num_share_modes -= 1; - lck->data->modified = True; return True; } @@ -949,7 +948,6 @@ bool remove_share_oplock(struct share_mode_lock *lck, files_struct *fsp) } remove_share_mode_lease(d, e); - d->modified = True; return true; } |