git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
769b51d
)
smbd: Remove two unnecessary return; statements
author
Volker Lendecke
<vl@samba.org>
Fri, 8 Mar 2019 13:58:02 +0000
(14:58 +0100)
committer
Jeremy Allison
<jra@samba.org>
Mon, 18 Mar 2019 19:21:23 +0000
(19:21 +0000)
return; is unnecessary at the end of a void function
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/smb2_create.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_create.c
b/source3/smbd/smb2_create.c
index 9de7cef6f10888ebd41c773d3a78f326677f4c2c..96a50741af9f5a6c0734f971d035b6f2d9519b96 100644
(file)
--- a/
source3/smbd/smb2_create.c
+++ b/
source3/smbd/smb2_create.c
@@
-1258,8
+1258,6
@@
static void smbd_smb2_create_before_exec(struct tevent_req *req)
}
}
}
-
- return;
}
static void smbd_smb2_create_after_exec(struct tevent_req *req)
@@
-1504,7
+1502,6
@@
static void smbd_smb2_create_finish(struct tevent_req *req)
tevent_req_done(req);
tevent_req_post(req, state->ev);
- return;
}
static NTSTATUS smbd_smb2_create_recv(struct tevent_req *req,