From ebc92d071567b7e7ca8b06372aeccaf26a986b3c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20Jacke?= Date: Wed, 8 Aug 2012 00:14:46 +0200 Subject: [PATCH] vfs_full_audit: Remove some unnecessary return; statements --- source3/modules/vfs_full_audit.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/source3/modules/vfs_full_audit.c b/source3/modules/vfs_full_audit.c index 1e5679dd6b2..3199503e521 100644 --- a/source3/modules/vfs_full_audit.c +++ b/source3/modules/vfs_full_audit.c @@ -558,8 +558,6 @@ static void do_log(vfs_op_type op, bool success, vfs_handle_struct *handle, TALLOC_FREE(audit_pre); TALLOC_FREE(op_msg); TALLOC_FREE(tmp_do_log_ctx); - - return; } /** @@ -638,8 +636,6 @@ static void smb_full_audit_disconnect(vfs_handle_struct *handle) /* The bitmaps will be disconnected when the private data is deleted. */ - - return; } static uint64_t smb_full_audit_disk_free(vfs_handle_struct *handle, @@ -770,7 +766,6 @@ static void smb_full_audit_seekdir(vfs_handle_struct *handle, SMB_VFS_NEXT_SEEKDIR(handle, dirp, offset); do_log(SMB_VFS_OP_SEEKDIR, True, handle, ""); - return; } static long smb_full_audit_telldir(vfs_handle_struct *handle, @@ -791,7 +786,6 @@ static void smb_full_audit_rewinddir(vfs_handle_struct *handle, SMB_VFS_NEXT_REWINDDIR(handle, dirp); do_log(SMB_VFS_OP_REWINDDIR, True, handle, ""); - return; } static int smb_full_audit_mkdir(vfs_handle_struct *handle, @@ -836,7 +830,6 @@ static void smb_full_audit_init_search_op(vfs_handle_struct *handle, SMB_VFS_NEXT_INIT_SEARCH_OP(handle, dirp); do_log(SMB_VFS_OP_INIT_SEARCH_OP, True, handle, ""); - return; } static int smb_full_audit_open(vfs_handle_struct *handle, @@ -1748,8 +1741,6 @@ static void smb_full_audit_strict_unlock(struct vfs_handle_struct *handle, do_log(SMB_VFS_OP_STRICT_UNLOCK, true, handle, "%s:%llu-%llu:%d", fsp_str_do_log(fsp), plock->start, plock->size); - - return; } static NTSTATUS smb_full_audit_translate_name(struct vfs_handle_struct *handle, -- 2.11.4.GIT