r15817: Remove some unused code
authorVolker Lendecke <vlendec@samba.org>
Mon, 22 May 2006 18:52:54 +0000 (18:52 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:17:10 +0000 (11:17 -0500)
(This used to be commit 72f103708d17aa86e09fa7a02699f969f7ee9190)

source3/smbd/files.c

index 53207e876ea1aea13d05c00533e660b09bf9867a..e020d8e13a6baffac712ece125e20b4f31c87cf9 100644 (file)
@@ -32,8 +32,6 @@ static files_struct *Files;
  
 /* a fsp to use when chaining */
 static files_struct *chain_fsp = NULL;
-/* a fsp to use to save when breaking an oplock. */
-static files_struct *oplock_save_chain_fsp = NULL;
 
 static int files_used;
 
@@ -502,24 +500,6 @@ void file_chain_reset(void)
        chain_fsp = NULL;
 }
 
-/****************************************************************************
- Save the chained fsp - done when about to do an oplock break.
-****************************************************************************/
-
-void file_chain_save(void)
-{
-       oplock_save_chain_fsp = chain_fsp;
-}
-
-/****************************************************************************
- Restore the chained fsp - done after an oplock break.
-****************************************************************************/
-
-void file_chain_restore(void)
-{
-       chain_fsp = oplock_save_chain_fsp;
-}
-
 /****************************************************************************
  Duplicate the file handle part for a DOS or FCB open.
 ****************************************************************************/