s3: VFS: vfs_syncops: Remove rmdir_fn(). No longer used.
authorJeremy Allison <jra@samba.org>
Fri, 4 Oct 2019 22:21:21 +0000 (15:21 -0700)
committerRalph Boehme <slow@samba.org>
Thu, 10 Oct 2019 06:09:41 +0000 (06:09 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_syncops.c

index 0790a2102d54d421832786289bd0de02f957855b..a863fbc0676a0c48d33493a5cdb297c1a50f5f2e 100644 (file)
@@ -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,