From: Jeremy Allison Date: Wed, 18 Sep 2019 16:57:59 +0000 (-0700) Subject: s3: VFS: vfs_streams_depot: Remove unlink_fn. No longer used. X-Git-Tag: talloc-2.3.1~577 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=314358b28a573fce13750e17dd0b124a8d6a0a0e;p=thirdparty%2Fsamba.git s3: VFS: vfs_streams_depot: Remove unlink_fn. No longer used. Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- diff --git a/source3/modules/vfs_streams_depot.c b/source3/modules/vfs_streams_depot.c index 10a22f5c22b..4d6978d19f7 100644 --- a/source3/modules/vfs_streams_depot.c +++ b/source3/modules/vfs_streams_depot.c @@ -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,