From: Jeremy Allison Date: Wed, 18 Sep 2019 17:00:43 +0000 (-0700) Subject: s3: VFS: vfs_posix_eadb: Remove unlink_fn. No longer used. X-Git-Tag: talloc-2.3.1~574 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f9b6a78671491055c9ce4b05039ba698a28abb1;p=thirdparty%2Fsamba.git s3: VFS: vfs_posix_eadb: Remove unlink_fn. No longer used. Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- diff --git a/source3/modules/vfs_posix_eadb.c b/source3/modules/vfs_posix_eadb.c index e707b1d15d2..db7471c19d2 100644 --- a/source3/modules/vfs_posix_eadb.c +++ b/source3/modules/vfs_posix_eadb.c @@ -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,