smbd: Remove unused code
authorVolker Lendecke <vl@samba.org>
Tue, 11 Jun 2013 18:34:00 +0000 (20:34 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 11 Jun 2013 20:20:42 +0000 (13:20 -0700)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/close.c

index 94ec7897e7291f74931592f5ac11de66e23c534b..64faf989ffdb71de0c910878576f767c1d3922e4 100644 (file)
@@ -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
 ****************************************************************************/