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:
52ec52b
)
tevent: Remove a pointless goto
author
Volker Lendecke
<vl@samba.org>
Fri, 16 Aug 2013 11:32:08 +0000
(11:32 +0000)
committer
Michael Adam
<obnox@samba.org>
Fri, 16 Aug 2013 14:50:23 +0000
(16:50 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
lib/tevent/tevent_wakeup.c
patch
|
blob
|
history
diff --git
a/lib/tevent/tevent_wakeup.c
b/lib/tevent/tevent_wakeup.c
index 82c3942ba8e7233fd1e14e6d217ce29f16f45a33..e217f337e55a671764b72f674b55ac802666c411 100644
(file)
--- a/
lib/tevent/tevent_wakeup.c
+++ b/
lib/tevent/tevent_wakeup.c
@@
-46,12
+46,9
@@
struct tevent_req *tevent_wakeup_send(TALLOC_CTX *mem_ctx,
state->wakeup_time = wakeup_time;
if (!tevent_req_set_endtime(req, ev, wakeup_time)) {
-
goto post
;
+
return tevent_req_post(req, ev)
;
}
-
return req;
-post:
- return tevent_req_post(req, ev);
}
bool tevent_wakeup_recv(struct tevent_req *req)