diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-08-21 05:40:07 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-08-31 09:59:41 +0200 |
commit | 3f49446e54b44f8f229855b7a7d323e976f3a570 (patch) | |
tree | c6b2c7f56506d77a759965c9306777b09044918f /cpukit/score/include/rtems/score/rbtree.h | |
parent | rbtree: Add _RBTree_Minimum(), _RBTree_Maximum() (diff) | |
download | rtems-3f49446e54b44f8f229855b7a7d323e976f3a570.tar.bz2 |
rbtree: Delete _RBTree_Is_first()
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/include/rtems/score/rbtree.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/cpukit/score/include/rtems/score/rbtree.h b/cpukit/score/include/rtems/score/rbtree.h index 9c5bf65e34..d6d7b341b1 100644 --- a/cpukit/score/include/rtems/score/rbtree.h +++ b/cpukit/score/include/rtems/score/rbtree.h @@ -402,26 +402,6 @@ RTEMS_INLINE_ROUTINE bool _RBTree_Is_empty( } /** - * @brief Is this the first node on the RBTree. - * - * This function returns true if @a the_node is the first node on - * @a the_rbtree and false otherwise. @a dir specifies whether first means - * minimum (0) or maximum (1). - * - * @retval true @a the_node is the first node on @a the_rbtree. - * @retval false @a the_node is not the first node on @a the_rbtree. - * - */ -RTEMS_INLINE_ROUTINE bool _RBTree_Is_first( - const RBTree_Control *the_rbtree, - const RBTree_Node *the_node, - RBTree_Direction dir -) -{ - return (the_node == _RBTree_First(the_rbtree, dir)); -} - -/** * @brief Returns true if this node is the root node of a red-black tree, and * false otherwise. * |