summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/close.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/smbd/close.c b/source3/smbd/close.c
index 94ec7897e7..64faf989ff 100644
--- a/source3/smbd/close.c
+++ b/source3/smbd/close.c
@@ -157,13 +157,6 @@ static NTSTATUS close_filestruct(files_struct *fsp)
return status;
}
-static int compare_share_mode_times(const void *p1, const void *p2)
-{
- const struct share_mode_entry *s1 = (const struct share_mode_entry *)p1;
- const struct share_mode_entry *s2 = (const struct share_mode_entry *)p2;
- return timeval_compare(&s1->time, &s2->time);
-}
-
/****************************************************************************
Delete all streams
****************************************************************************/