summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/clifile.c12
-rw-r--r--source3/libsmb/clifsinfo.c2
2 files changed, 7 insertions, 7 deletions
diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c
index d7fcc4b4e3..fb4857a1a5 100644
--- a/source3/libsmb/clifile.c
+++ b/source3/libsmb/clifile.c
@@ -121,7 +121,7 @@ static void cli_posix_link_internal_done(struct tevent_req *subreq)
{
NTSTATUS status = cli_trans_recv(subreq, NULL, NULL, 0, NULL,
NULL, 0, NULL, NULL, 0, NULL);
- return tevent_req_simple_finish_ntstatus(subreq, status);
+ tevent_req_simple_finish_ntstatus(subreq, status);
}
static struct tevent_req *cli_posix_link_internal_send(TALLOC_CTX *mem_ctx,
@@ -947,7 +947,7 @@ static void cli_posix_chown_chmod_internal_done(struct tevent_req *subreq)
{
NTSTATUS status = cli_trans_recv(subreq, NULL, NULL, 0, NULL,
NULL, 0, NULL, NULL, 0, NULL);
- return tevent_req_simple_finish_ntstatus(subreq, status);
+ tevent_req_simple_finish_ntstatus(subreq, status);
}
static struct tevent_req *cli_posix_chown_chmod_internal_send(TALLOC_CTX *mem_ctx,
@@ -1845,7 +1845,7 @@ static void cli_nt_delete_on_close_done(struct tevent_req *subreq)
{
NTSTATUS status = cli_trans_recv(subreq, NULL, NULL, 0, NULL,
NULL, 0, NULL, NULL, 0, NULL);
- return tevent_req_simple_finish_ntstatus(subreq, status);
+ tevent_req_simple_finish_ntstatus(subreq, status);
}
struct tevent_req *cli_nt_delete_on_close_send(TALLOC_CTX *mem_ctx,
@@ -2451,7 +2451,7 @@ static void cli_ftruncate_done(struct tevent_req *subreq)
{
NTSTATUS status = cli_trans_recv(subreq, NULL, NULL, 0, NULL,
NULL, 0, NULL, NULL, 0, NULL);
- return tevent_req_simple_finish_ntstatus(subreq, status);
+ tevent_req_simple_finish_ntstatus(subreq, status);
}
struct tevent_req *cli_ftruncate_send(TALLOC_CTX *mem_ctx,
@@ -2976,7 +2976,7 @@ static void cli_posix_unlock_internal_done(struct tevent_req *subreq)
{
NTSTATUS status = cli_trans_recv(subreq, NULL, NULL, 0, NULL,
NULL, 0, NULL, NULL, 0, NULL);
- return tevent_req_simple_finish_ntstatus(subreq, status);
+ tevent_req_simple_finish_ntstatus(subreq, status);
}
static struct tevent_req *cli_posix_lock_internal_send(TALLOC_CTX *mem_ctx,
@@ -4772,7 +4772,7 @@ static void cli_posix_unlink_internal_done(struct tevent_req *subreq)
{
NTSTATUS status = cli_trans_recv(subreq, NULL, NULL, 0, NULL,
NULL, 0, NULL, NULL, 0, NULL);
- return tevent_req_simple_finish_ntstatus(subreq, status);
+ tevent_req_simple_finish_ntstatus(subreq, status);
}
static struct tevent_req *cli_posix_unlink_internal_send(TALLOC_CTX *mem_ctx,
diff --git a/source3/libsmb/clifsinfo.c b/source3/libsmb/clifsinfo.c
index 00fd47264b..3e9740d153 100644
--- a/source3/libsmb/clifsinfo.c
+++ b/source3/libsmb/clifsinfo.c
@@ -208,7 +208,7 @@ static void cli_set_unix_extensions_capabilities_done(
{
NTSTATUS status = cli_trans_recv(subreq, NULL, NULL, 0, NULL,
NULL, 0, NULL, NULL, 0, NULL);
- return tevent_req_simple_finish_ntstatus(subreq, status);
+ tevent_req_simple_finish_ntstatus(subreq, status);
}
NTSTATUS cli_set_unix_extensions_capabilities_recv(struct tevent_req *req)