summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_full_audit.c
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2012-08-08 00:14:46 +0200
committerBjoern Jacke <bj@sernet.de>2012-08-08 00:21:26 +0200
commitebc92d071567b7e7ca8b06372aeccaf26a986b3c (patch)
treef43fed9cf7202c78620ade9a6a6c473bbd72eaf1 /source3/modules/vfs_full_audit.c
parentdab8fe5deabd3feec7451163e8569ee665567f18 (diff)
downloadsamba-ebc92d071567b7e7ca8b06372aeccaf26a986b3c.tar.gz
samba-ebc92d071567b7e7ca8b06372aeccaf26a986b3c.tar.bz2
samba-ebc92d071567b7e7ca8b06372aeccaf26a986b3c.zip
vfs_full_audit: Remove some unnecessary return; statements
Diffstat (limited to 'source3/modules/vfs_full_audit.c')
-rw-r--r--source3/modules/vfs_full_audit.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source3/modules/vfs_full_audit.c b/source3/modules/vfs_full_audit.c
index 1e5679dd6b..3199503e52 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,