git.samba.org
/
metze
/
ctdb
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff0c052
)
remove an unused function
author
Ronnie Sahlberg
<sahlberg@ronnie>
Wed, 8 Aug 2007 21:59:50 +0000
(07:59 +1000)
committer
Ronnie Sahlberg
<sahlberg@ronnie>
Wed, 8 Aug 2007 21:59:50 +0000
(07:59 +1000)
common/rb_tree.c
patch
|
blob
|
history
diff --git
a/common/rb_tree.c
b/common/rb_tree.c
index 36dc6397b2f074946912754de45893d1e029036b..a06cd02edbf689900518a29a12150937ec14f72a 100644
(file)
--- a/
common/rb_tree.c
+++ b/
common/rb_tree.c
@@
-276,16
+276,6
@@
trbt_sibling(trbt_node_t *node)
}
}
-static inline trbt_node_t *
-trbt_sibline(trbt_node_t *node)
-{
- if (node==node->parent->left) {
- return node->parent->right;
- } else {
- return node->parent->left;
- }
-}
-
static inline void
trbt_delete_case6(trbt_node_t *node)
{