s4:ntvfs/smb2: ifdef out unused code
authorStefan Metzmacher <metze@samba.org>
Thu, 27 Feb 2014 08:29:36 +0000 (09:29 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 25 Nov 2014 06:25:45 +0000 (07:25 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/ntvfs/smb2/vfs_smb2.c

index a3a670a101e55ca52034bea0053fefcfffe7de81..dbb76b3dc12695b5223256cc2db56ddae8bc6ef4 100644 (file)
@@ -100,6 +100,7 @@ struct async_info {
   a handler for oplock break events from the server - these need to be passed
   along to the client
  */
+#if 0
 static bool oplock_handler(struct smbcli_transport *transport, uint16_t tid, uint16_t fnum, uint8_t level, void *p_private)
 {
        struct cvfs_private *p = p_private;
@@ -123,6 +124,7 @@ static bool oplock_handler(struct smbcli_transport *transport, uint16_t tid, uin
        if (!NT_STATUS_IS_OK(status)) return false;
        return true;
 }
+#endif
 
 /*
   return a handle to the root of the share