This was included in the initial rbtree import, but is not used.
clang from OS X's Xcode 5.1 now warns about this unused function,
which is an error with --enable-checking .
Change-Id: I896504e83be317394418a7cc1b3f518e675fbb5b
Reviewed-on: http://gerrit.openafs.org/10887
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
}
static_inline void
-initnode(struct opr_rbtree_node *node)
-{
- node->left = node->right = node->parent = NULL;
- node->red = 1;
-}
-
-static_inline void
rotateright(struct opr_rbtree *head, struct opr_rbtree_node *node)
{
struct opr_rbtree_node *left = node->left;