From: Volker Lendecke Date: Thu, 3 Dec 2020 15:23:58 +0000 (+0100) Subject: smbd: Remove unused share_mode_have_entries() X-Git-Tag: samba-4.14.0rc1~505 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f40c4ab637cb0f74f0dbdf93611fe55b69c7f35;p=thirdparty%2Fsamba.git smbd: Remove unused share_mode_have_entries() Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/locking/share_mode_lock.c b/source3/locking/share_mode_lock.c index 14217ec4e56..62c8a5e28ee 100644 --- a/source3/locking/share_mode_lock.c +++ b/source3/locking/share_mode_lock.c @@ -1107,11 +1107,6 @@ NTSTATUS share_mode_wakeup_waiters(struct file_id id) return share_mode_do_locked(id, share_mode_wakeup_waiters_fn, NULL); } -bool share_mode_have_entries(struct share_mode_lock *lck) -{ - return lck->data->have_share_modes; -} - NTTIME share_mode_changed_write_time(struct share_mode_lock *lck) { return lck->data->changed_write_time; diff --git a/source3/locking/share_mode_lock.h b/source3/locking/share_mode_lock.h index 09a354c0d01..f2fe3d51a16 100644 --- a/source3/locking/share_mode_lock.h +++ b/source3/locking/share_mode_lock.h @@ -94,7 +94,6 @@ bool share_mode_forall_entries( bool *modified, void *private_data), void *private_data); -bool share_mode_have_entries(struct share_mode_lock *lck); NTTIME share_mode_changed_write_time(struct share_mode_lock *lck); const char *share_mode_servicepath(struct share_mode_lock *lck);