From 0f40c4ab637cb0f74f0dbdf93611fe55b69c7f35 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 3 Dec 2020 16:23:58 +0100 Subject: [PATCH] smbd: Remove unused share_mode_have_entries() Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/locking/share_mode_lock.c | 5 ----- source3/locking/share_mode_lock.h | 1 - 2 files changed, 6 deletions(-) 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); -- 2.34.1