s3: VFS: Complete the replacement of SMB_VFS_UNLINK() -> SMB_VFS_UNLINKAT().
[slow/samba.git] / examples / VFS / skel_opaque.c
index 2695b82ab45a6d762eb2f5b3b40dab754503b6e7..59804675c8e56eec7891a98353c11fe9bf244fe8 100644 (file)
@@ -344,13 +344,6 @@ static uint64_t skel_get_alloc_size(struct vfs_handle_struct *handle,
        return -1;
 }
 
-static int skel_unlink(vfs_handle_struct *handle,
-                      const struct smb_filename *smb_fname)
-{
-       errno = ENOSYS;
-       return -1;
-}
-
 static int skel_unlinkat(vfs_handle_struct *handle,
                        struct files_struct *dirfsp,
                        const struct smb_filename *smb_fname,
@@ -1085,7 +1078,6 @@ static struct vfs_fn_pointers skel_opaque_fns = {
        .fstat_fn = skel_fstat,
        .lstat_fn = skel_lstat,
        .get_alloc_size_fn = skel_get_alloc_size,
-       .unlink_fn = skel_unlink,
        .unlinkat_fn = skel_unlinkat,
        .chmod_fn = skel_chmod,
        .fchmod_fn = skel_fchmod,