projects
/
platform
/
core
/
system
/
kdbus-bus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0b3b08
)
connection: conditional branch cleanups
author
Daniel Mack
<daniel@zonque.org>
Tue, 28 Oct 2014 11:43:43 +0000
(12:43 +0100)
committer
Daniel Mack
<daniel@zonque.org>
Tue, 28 Oct 2014 11:43:43 +0000
(12:43 +0100)
Use an else branch for better readability.
Signed-off-by: Daniel Mack <daniel@zonque.org>
connection.c
patch
|
blob
|
history
diff --git
a/connection.c
b/connection.c
index 2a1745b8d6a9ff97e4c74731272114355aee5088..13ad1d4de262de870b4cfde9880056288dd8b75a 100644
(file)
--- a/
connection.c
+++ b/
connection.c
@@
-878,9
+878,7
@@
int kdbus_conn_kmsg_send(struct kdbus_ep *ep,
if (ret < 0)
goto exit_unref;
- }
-
- if (!reply_wake) {
+ } else {
/*
* Otherwise, put it in the queue and wait for the connection
* to dequeue and receive the message.