From: Jeremy Allison Date: Wed, 18 Sep 2019 16:56:53 +0000 (-0700) Subject: s3: VFS: vfs_syncops: Remove unlink_fn. No longer used. X-Git-Tag: talloc-2.3.1~578 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f68049fff82e86554eb2ef8249a38e2ba4de2f7;p=thirdparty%2Fsamba.git s3: VFS: vfs_syncops: Remove unlink_fn. No longer used. Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- diff --git a/source3/modules/vfs_syncops.c b/source3/modules/vfs_syncops.c index 1382fdd0540..0790a2102d5 100644 --- a/source3/modules/vfs_syncops.c +++ b/source3/modules/vfs_syncops.c @@ -230,12 +230,6 @@ static int syncops_open(vfs_handle_struct *handle, (handle, smb_fname, fsp, flags, mode)); } -static int syncops_unlink(vfs_handle_struct *handle, - const struct smb_filename *smb_fname) -{ - SYNCOPS_NEXT_SMB_FNAME(UNLINK, smb_fname, (handle, smb_fname)); -} - static int syncops_unlinkat(vfs_handle_struct *handle, files_struct *dirfsp, const struct smb_filename *smb_fname, @@ -340,7 +334,6 @@ static struct vfs_fn_pointers vfs_syncops_fns = { .rmdir_fn = syncops_rmdir, .open_fn = syncops_open, .renameat_fn = syncops_renameat, - .unlink_fn = syncops_unlink, .unlinkat_fn = syncops_unlinkat, .symlinkat_fn = syncops_symlinkat, .linkat_fn = syncops_linkat,