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

index 10a22f5c22b8ffdf5f5002497fc710ef83f4653e..4d6978d19f76d6e30e5fd093f11d6db526ad6437 100644 (file)
@@ -785,15 +785,6 @@ static int streams_depot_unlink_internal(vfs_handle_struct *handle,
        return ret;
 }
 
-static int streams_depot_unlink(vfs_handle_struct *handle,
-                               const struct smb_filename *smb_fname)
-{
-       return streams_depot_unlink_internal(handle,
-                               handle->conn->cwd_fsp,
-                               smb_fname,
-                               0);
-}
-
 static int streams_depot_rmdir(vfs_handle_struct *handle,
                                const struct smb_filename *smb_fname)
 {
@@ -1114,7 +1105,6 @@ static struct vfs_fn_pointers vfs_streams_depot_fns = {
        .open_fn = streams_depot_open,
        .stat_fn = streams_depot_stat,
        .lstat_fn = streams_depot_lstat,
-       .unlink_fn = streams_depot_unlink,
        .unlinkat_fn = streams_depot_unlinkat,
        .rmdir_fn = streams_depot_rmdir,
        .renameat_fn = streams_depot_renameat,