From: Jeremy Allison Date: Fri, 4 Oct 2019 22:21:21 +0000 (-0700) Subject: s3: VFS: vfs_syncops: Remove rmdir_fn(). No longer used. X-Git-Tag: talloc-2.3.1~398 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=14e24881c4e2839e896c3b6e8b94ecc7a990947f;p=thirdparty%2Fsamba.git s3: VFS: vfs_syncops: Remove rmdir_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 0790a2102d5..a863fbc0676 100644 --- a/source3/modules/vfs_syncops.c +++ b/source3/modules/vfs_syncops.c @@ -271,12 +271,6 @@ static int syncops_mkdirat(vfs_handle_struct *handle, mode)); } -static int syncops_rmdir(vfs_handle_struct *handle, - const struct smb_filename *smb_fname) -{ - SYNCOPS_NEXT_SMB_FNAME(RMDIR, smb_fname, (handle, smb_fname)); -} - /* close needs to be handled specially */ static int syncops_close(vfs_handle_struct *handle, files_struct *fsp) { @@ -331,7 +325,6 @@ static int syncops_connect(struct vfs_handle_struct *handle, const char *service static struct vfs_fn_pointers vfs_syncops_fns = { .connect_fn = syncops_connect, .mkdirat_fn = syncops_mkdirat, - .rmdir_fn = syncops_rmdir, .open_fn = syncops_open, .renameat_fn = syncops_renameat, .unlinkat_fn = syncops_unlinkat,