From 6f68049fff82e86554eb2ef8249a38e2ba4de2f7 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 18 Sep 2019 09:56:53 -0700 Subject: [PATCH] s3: VFS: vfs_syncops: Remove unlink_fn. No longer used. Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- source3/modules/vfs_syncops.c | 7 ------- 1 file changed, 7 deletions(-) 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, -- 2.47.3