lib: Remove unused copy_smb_filename
authorVolker Lendecke <vl@samba.org>
Fri, 12 Apr 2013 09:01:15 +0000 (11:01 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 17 Apr 2013 21:49:58 +0000 (14:49 -0700)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/filename_util.c

index e4900eb10d155d5ccd306b1b7101298ee380bd04..a92c11e304ef3f350ec9274c1f0b4f04607b76eb 100644 (file)
 */
 #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.
  ***************************************************************************/