From: Jeremy Allison Date: Wed, 21 Aug 2019 20:54:52 +0000 (-0700) Subject: s3: VFS: vfs_syncops. Remove mknod_fn(). No longer used. X-Git-Tag: tevent-0.10.1~193 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5132e78c95c8f81ffae55e348619f7ffe0e6698f;p=thirdparty%2Fsamba.git s3: VFS: vfs_syncops. Remove mknod_fn(). No longer used. Signed-off-by: Jeremy Allison Reviewed-by: Ralph Böhme --- diff --git a/source3/modules/vfs_syncops.c b/source3/modules/vfs_syncops.c index d5a3e964298..04a0180a2fb 100644 --- a/source3/modules/vfs_syncops.c +++ b/source3/modules/vfs_syncops.c @@ -231,15 +231,6 @@ static int syncops_unlink(vfs_handle_struct *handle, SYNCOPS_NEXT_SMB_FNAME(UNLINK, smb_fname, (handle, smb_fname)); } -static int syncops_mknod(vfs_handle_struct *handle, - const struct smb_filename *smb_fname, - mode_t mode, - SMB_DEV_T dev) -{ - SYNCOPS_NEXT_SMB_FNAME(MKNOD, - smb_fname, (handle, smb_fname, mode, dev)); -} - static int syncops_mknodat(vfs_handle_struct *handle, files_struct *dirfsp, const struct smb_filename *smb_fname, @@ -328,7 +319,6 @@ static struct vfs_fn_pointers vfs_syncops_fns = { .unlink_fn = syncops_unlink, .symlink_fn = syncops_symlink, .linkat_fn = syncops_linkat, - .mknod_fn = syncops_mknod, .mknodat_fn = syncops_mknodat, .close_fn = syncops_close, };