ntvfs: Remove now unused functions
authorAndrew Bartlett <abartlet@samba.org>
Mon, 24 Jun 2019 23:57:16 +0000 (11:57 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 26 Jun 2019 04:12:32 +0000 (04:12 +0000)
These likely became unused once other untested parts of the NTVFS file server were
removed in 2017e291a2da3d63741df82b480f32ee57f6a165,
ee8b48df0f995611e0c8f8d6766e4882c5f4f4cd,
679227d6063074aabb986d78fab42b856db265e3,
31de52ed2efe598e7fab72d90a742d4f9e03c97e

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
source4/ntvfs/ntvfs_interface.c
source4/ntvfs/ntvfs_util.c

index 005da0b8e2f14728ee8f11a7f4f66880349d7312..a9e3101a674f32904415782106b83e3496fe7a0f 100644 (file)
@@ -602,17 +602,6 @@ NTSTATUS ntvfs_next_trans(struct ntvfs_module_context *ntvfs,
        return ntvfs->next->ops->trans_fn(ntvfs->next, req, trans);
 }
 
-/* trans2 interface - only used by CIFS backend to prover complete passthru for testing */
-NTSTATUS ntvfs_next_trans2(struct ntvfs_module_context *ntvfs, 
-                                   struct ntvfs_request *req,
-                                   struct smb_trans2 *trans2)
-{
-       if (!ntvfs->next || !ntvfs->next->ops->trans2_fn) {
-               return NT_STATUS_NOT_IMPLEMENTED;
-       }
-       return ntvfs->next->ops->trans2_fn(ntvfs->next, req, trans2);
-}
-
 /*
   change notify request
 */
index 116313925522f88b302323dba6cfe8b30973c14c..2888ef48208b44d27b90930760b1ff5b52493184 100644 (file)
@@ -179,11 +179,6 @@ struct ntvfs_handle *ntvfs_handle_search_by_wire_key(struct ntvfs_module_context
        return ntvfs->ctx->handles.search_by_wire_key(ntvfs->ctx->handles.private_data, req, key);
 }
 
-DATA_BLOB ntvfs_handle_get_wire_key(struct ntvfs_handle *h, TALLOC_CTX *mem_ctx)
-{
-       return h->ctx->handles.get_wire_key(h->ctx->handles.private_data, h, mem_ctx);
-}
-
 NTSTATUS ntvfs_set_handle_callbacks(struct ntvfs_context *ntvfs,
                                             NTSTATUS (*create_new)(void *private_data, struct ntvfs_request *req, struct ntvfs_handle **h),
                                             NTSTATUS (*make_valid)(void *private_data, struct ntvfs_handle *h),