]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: VFS: vfs_fruit: Remove unlink_fn. No longer used.
authorJeremy Allison <jra@samba.org>
Wed, 18 Sep 2019 16:54:10 +0000 (09:54 -0700)
committerRalph Boehme <slow@samba.org>
Thu, 26 Sep 2019 17:20:51 +0000 (17:20 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_fruit.c

index f39f6e136d9559fc3eb94dcd1d4088c4314bd5a9..5f789604b23ca13849ba9511fd8b4abac753fe3b 100644 (file)
@@ -2214,14 +2214,6 @@ static int fruit_rmdir(struct vfs_handle_struct *handle,
                                smb_fname);
 }
 
-static int fruit_unlink(vfs_handle_struct *handle,
-                       const struct smb_filename *smb_fname)
-{
-       return fruit_unlink_internal(handle,
-                               handle->conn->cwd_fsp,
-                               smb_fname);
-}
-
 static int fruit_unlinkat(vfs_handle_struct *handle,
                        struct files_struct *dirfsp,
                        const struct smb_filename *smb_fname,
@@ -5165,7 +5157,6 @@ static struct vfs_fn_pointers vfs_fruit_fns = {
        /* File operations */
        .chmod_fn = fruit_chmod,
        .chown_fn = fruit_chown,
-       .unlink_fn = fruit_unlink,
        .unlinkat_fn = fruit_unlinkat,
        .renameat_fn = fruit_renameat,
        .rmdir_fn = fruit_rmdir,