summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-04-12 11:01:15 +0200
committerJeremy Allison <jra@samba.org>2013-04-17 14:49:58 -0700
commit133cde309381d9e127c8d78167b486dd7cbb0920 (patch)
treebbee2cab69bcc8582348b986387e31aae66572f2 /source3/lib
parent5774989336570e89b0976842eb9ea2657f8fc3ed (diff)
downloadsamba-133cde309381d9e127c8d78167b486dd7cbb0920.tar.gz
samba-133cde309381d9e127c8d78167b486dd7cbb0920.tar.bz2
samba-133cde309381d9e127c8d78167b486dd7cbb0920.zip
lib: Remove unused copy_smb_filename
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/lib')
-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.
***************************************************************************/