[CRIU] [PATCH 11/12] rb: Drop rb_attach_node

Cyrill Gorcunov gorcunov at openvz.org
Sun Mar 25 17:33:57 EDT 2012


It's unused and wrong.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 include/rbtree.h |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/include/rbtree.h b/include/rbtree.h
index 2da5877..ed41af9 100644
--- a/include/rbtree.h
+++ b/include/rbtree.h
@@ -55,11 +55,6 @@ static void rb_init_node(struct rb_node *node)
 	RB_CLEAR_NODE(node);
 }
 
-static void rb_attach_node(struct rb_root *root, struct rb_node *node)
-{
-	root->rb_node = node;
-}
-
 extern void rb_insert_color(struct rb_node *node, struct rb_root *root);
 extern void rb_erase(struct rb_node *node, struct rb_root *root);
 
-- 
1.7.7.6



More information about the CRIU mailing list