projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26e9e10
)
basic/c-rbtree: remove unused function
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Tue, 15 Mar 2016 23:27:34 +0000
(19:27 -0400)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Tue, 15 Mar 2016 23:40:33 +0000
(19:40 -0400)
src/basic/c-rbtree.c
patch
|
blob
|
history
diff --git
a/src/basic/c-rbtree.c
b/src/basic/c-rbtree.c
index
914d7e5
..
cf5a724
100644
(file)
--- a/
src/basic/c-rbtree.c
+++ b/
src/basic/c-rbtree.c
@@
-195,11
+195,6
@@
static inline void c_rbnode_set_parent_and_color(CRBNode *n, CRBNode *p, unsigne
n->__parent_and_color = (CRBNode*)((unsigned long)p | c);
}
-/* same as c_rbnode_set_parent_and_color(), but keeps the current parent */
-static inline void c_rbnode_set_color(CRBNode *n, unsigned long c) {
- c_rbnode_set_parent_and_color(n, c_rbnode_parent(n), c);
-}
-
/* same as c_rbnode_set_parent_and_color(), but keeps the current color */
static inline void c_rbnode_set_parent(CRBNode *n, CRBNode *p) {
c_rbnode_set_parent_and_color(n, p, c_rbnode_color(n));