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:
527d3e0
)
bus: kdbus_bus_make_user - drop unused variable
author
Tom Gundersen
<teg@jklm.no>
Mon, 29 Sep 2014 21:35:26 +0000
(23:35 +0200)
committer
Tom Gundersen
<teg@jklm.no>
Mon, 29 Sep 2014 21:56:07 +0000
(23:56 +0200)
Signed-off-by: Tom Gundersen <teg@jklm.no>
bus.c
patch
|
blob
|
history
diff --git
a/bus.c
b/bus.c
index 351595313aa275def87d0ac4e54879a86b3a7a83..6f3afc2fe67d2f4545f7beb5af61de25337193d8 100644
(file)
--- a/
bus.c
+++ b/
bus.c
@@
-348,10
+348,6
@@
int kdbus_bus_make_user(const struct kdbus_cmd_make *make,
const struct kdbus_bloom_parameter *bl = NULL;
KDBUS_ITEMS_FOREACH(item, make->items, KDBUS_ITEMS_SIZE(make, items)) {
- size_t payload_size;
-
- payload_size = item->size - KDBUS_ITEM_HEADER_SIZE;
-
switch (item->type) {
case KDBUS_ITEM_MAKE_NAME:
if (n)