summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-06-11 20:34:00 +0200
committerJeremy Allison <jra@samba.org>2013-06-11 13:20:42 -0700
commit606622c10186d6197860c9b20385d9d84840da58 (patch)
tree1c3961ab3d82e8c1fc3829748081006a9c3252fa /source3
parent4cd0e38fe0fa3432326fafd4baa845ec2483bb70 (diff)
downloadsamba-606622c10186d6197860c9b20385d9d84840da58.tar.gz
samba-606622c10186d6197860c9b20385d9d84840da58.tar.bz2
samba-606622c10186d6197860c9b20385d9d84840da58.zip
smbd: Remove unused code
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
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
****************************************************************************/