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:
6c50127
)
pool: use {} in all conditional branches if used in one of them
author
Daniel Mack
<zonque@gmail.com>
Tue, 17 Dec 2013 19:24:00 +0000
(20:24 +0100)
committer
Daniel Mack
<zonque@gmail.com>
Tue, 17 Dec 2013 19:24:00 +0000
(20:24 +0100)
pool.c
patch
|
blob
|
history
diff --git
a/pool.c
b/pool.c
index 24258f36976e57b723239be272db64b78d28b416..eaf32235004f4efc5fa3a8adf0d65b9270e488a6 100644
(file)
--- a/
pool.c
+++ b/
pool.c
@@
-198,9
+198,9
@@
static int kdbus_pool_alloc_slice(struct kdbus_pool *pool,
if (slice_size < s->size) {
found = n;
n = n->rb_left;
- } else if (slice_size > s->size)
+ } else if (slice_size > s->size)
{
n = n->rb_right;
- else {
+
}
else {
found = n;
break;
}