summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_time_audit.c
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2012-08-08 00:12:00 +0200
committerBjoern Jacke <bj@sernet.de>2012-08-08 00:21:26 +0200
commit3f9b2cc6828e431d2340ee3d7b4411c363ca11b1 (patch)
treec0f1ac7c1734c78f6dd183f14968d9c6830bb9dc /source3/modules/vfs_time_audit.c
parent9adf6a061a3d47ea2b7cadb6508dd5acffdbb8bd (diff)
downloadsamba-3f9b2cc6828e431d2340ee3d7b4411c363ca11b1.tar.gz
samba-3f9b2cc6828e431d2340ee3d7b4411c363ca11b1.tar.bz2
samba-3f9b2cc6828e431d2340ee3d7b4411c363ca11b1.zip
vfs_time_audit: Remove some unnecessary return; statements
Diffstat (limited to 'source3/modules/vfs_time_audit.c')
-rw-r--r--source3/modules/vfs_time_audit.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/modules/vfs_time_audit.c b/source3/modules/vfs_time_audit.c
index ff9cf05120..9b42ec9d2d 100644
--- a/source3/modules/vfs_time_audit.c
+++ b/source3/modules/vfs_time_audit.c
@@ -77,8 +77,6 @@ static void smb_time_audit_disconnect(vfs_handle_struct *handle)
if (timediff > audit_timeout) {
smb_time_audit_log("disconnect", timediff);
}
-
- return;
}
static uint64_t smb_time_audit_disk_free(vfs_handle_struct *handle,
@@ -279,7 +277,6 @@ static void smb_time_audit_seekdir(vfs_handle_struct *handle,
smb_time_audit_log("seekdir", timediff);
}
- return;
}
static long smb_time_audit_telldir(vfs_handle_struct *handle,
@@ -316,7 +313,6 @@ static void smb_time_audit_rewinddir(vfs_handle_struct *handle,
smb_time_audit_log("rewinddir", timediff);
}
- return;
}
static int smb_time_audit_mkdir(vfs_handle_struct *handle,
@@ -390,7 +386,6 @@ static void smb_time_audit_init_search_op(vfs_handle_struct *handle,
if (timediff > audit_timeout) {
smb_time_audit_log("init_search_op", timediff);
}
- return;
}
static int smb_time_audit_open(vfs_handle_struct *handle,
@@ -1558,8 +1553,6 @@ static void smb_time_audit_strict_unlock(struct vfs_handle_struct *handle,
if (timediff > audit_timeout) {
smb_time_audit_log("strict_unlock", timediff);
}
-
- return;
}
static NTSTATUS smb_time_audit_translate_name(struct vfs_handle_struct *handle,