From 133cde309381d9e127c8d78167b486dd7cbb0920 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 12 Apr 2013 11:01:15 +0200 Subject: lib: Remove unused copy_smb_filename Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/lib/filename_util.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'source3/lib/filename_util.c') diff --git a/source3/lib/filename_util.c b/source3/lib/filename_util.c index e4900eb10d1..a92c11e304e 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. ***************************************************************************/ -- cgit