]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Remove unused share_mode_have_entries()
authorVolker Lendecke <vl@samba.org>
Thu, 3 Dec 2020 15:23:58 +0000 (16:23 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 4 Dec 2020 21:08:38 +0000 (21:08 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/locking/share_mode_lock.c
source3/locking/share_mode_lock.h

index 14217ec4e565c1d0e904127ce0f62fe3dcad46e0..62c8a5e28ee5c56431750008df8a748534b7a5a0 100644 (file)
@@ -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;
index 09a354c0d01f1ee2cf562c984353174c24e83d81..f2fe3d51a161e11646670a7bbcb61dd163a9f154 100644 (file)
@@ -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);