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:
ee68488
)
connection: clean up conditional code path
author
Daniel Mack
<zonque@gmail.com>
Tue, 24 Jun 2014 09:24:49 +0000
(11:24 +0200)
committer
Daniel Mack
<zonque@gmail.com>
Tue, 24 Jun 2014 09:24:51 +0000
(11:24 +0200)
For broadcasts, we return anway, so there's no point in an 'else' branch.
connection.c
patch
|
blob
|
history
diff --git
a/connection.c
b/connection.c
index 993d7b658c163db316feb3cc819eafd97489cfed..7fc63425c2d6c366b64185a141601d90610af196 100644
(file)
--- a/
connection.c
+++ b/
connection.c
@@
-1271,8
+1271,9
@@
int kdbus_conn_kmsg_send(struct kdbus_ep *ep,
mutex_unlock(&bus->lock);
return 0;
+ }
-
} else
if (msg->dst_id == KDBUS_DST_ID_NAME) {
+ if (msg->dst_id == KDBUS_DST_ID_NAME) {
/* unicast message to well-known name */
BUG_ON(!kmsg->dst_name);