summaryrefslogtreecommitdiff
path: root/source3/lib/filename_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/filename_util.c')
-rw-r--r--source3/lib/filename_util.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/source3/lib/filename_util.c b/source3/lib/filename_util.c
index e4900eb10d..a92c11e304 100644
--- a/source3/lib/filename_util.c
+++ b/source3/lib/filename_util.c
@@ -18,10 +18,6 @@
*/
#include "includes.h"
-static NTSTATUS copy_smb_filename(TALLOC_CTX *ctx,
- const struct smb_filename *smb_fname_in,
- struct smb_filename **smb_fname_out);
-
/**
* XXX: This is temporary and there should be no callers of this outside of
* this file once smb_filename is plumbed through all path based operations.
@@ -215,17 +211,6 @@ fail:
return NULL;
}
-static NTSTATUS copy_smb_filename(TALLOC_CTX *ctx,
- const struct smb_filename *smb_fname_in,
- struct smb_filename **smb_fname_out)
-{
- *smb_fname_out = cp_smb_filename(ctx, smb_fname_in);
- if (*smb_fname_out == NULL) {
- return NT_STATUS_NO_MEMORY;
- }
- return NT_STATUS_OK;
-}
-
/****************************************************************************
Simple check to determine if the filename is a stream.
***************************************************************************/