]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: VFS: vfs_posix_eadb: Remove unlink_fn. No longer used.
authorJeremy Allison <jra@samba.org>
Wed, 18 Sep 2019 17:00:43 +0000 (10:00 -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_posix_eadb.c

index e707b1d15d24af5bfcfb10915f4692cc5e6bf68c..db7471c19d2c5a779a04e758fe3fef4b28212436 100644 (file)
@@ -390,15 +390,6 @@ static int posix_eadb_rmdir(vfs_handle_struct *handle,
        return ret;
 }
 
-static int posix_eadb_unlink(vfs_handle_struct *handle,
-                       const struct smb_filename *smb_fname)
-{
-       return posix_eadb_unlink_internal(handle,
-                               handle->conn->cwd_fsp,
-                               smb_fname,
-                               0);
-}
-
 static int posix_eadb_unlinkat(vfs_handle_struct *handle,
                        struct files_struct *dirfsp,
                        const struct smb_filename *smb_fname,
@@ -473,7 +464,6 @@ static struct vfs_fn_pointers vfs_posix_eadb_fns = {
        .flistxattr_fn = posix_eadb_flistxattr,
        .removexattr_fn = posix_eadb_removexattr,
        .fremovexattr_fn = posix_eadb_fremovexattr,
-       .unlink_fn = posix_eadb_unlink,
        .unlinkat_fn = posix_eadb_unlinkat,
        .rmdir_fn = posix_eadb_rmdir,
        .connect_fn = posix_eadb_connect,