diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-07-26 12:52:22 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-07-26 12:52:22 +0200 |
commit | 4cd55724bbc6c125be4669ea4343e93cb7108d3b (patch) | |
tree | 2ce29041728200121c6b9e86c7a19b6df13ce672 /cpukit/score/include/rtems/score | |
parent | rbtree: Update maximum node in LIFO order (diff) | |
download | rtems-4cd55724bbc6c125be4669ea4343e93cb7108d3b.tar.bz2 |
Delete unused *_Is_null() functions
Diffstat (limited to 'cpukit/score/include/rtems/score')
-rw-r--r-- | cpukit/score/include/rtems/score/chainimpl.h | 17 | ||||
-rw-r--r-- | cpukit/score/include/rtems/score/coremsgimpl.h | 10 | ||||
-rw-r--r-- | cpukit/score/include/rtems/score/rbtreeimpl.h | 15 |
3 files changed, 0 insertions, 42 deletions
diff --git a/cpukit/score/include/rtems/score/chainimpl.h b/cpukit/score/include/rtems/score/chainimpl.h index 02196cbfc1..6e1b6e3ce5 100644 --- a/cpukit/score/include/rtems/score/chainimpl.h +++ b/cpukit/score/include/rtems/score/chainimpl.h @@ -272,23 +272,6 @@ RTEMS_INLINE_ROUTINE bool _Chain_Are_nodes_equal( } /** - * @brief Is this chain control pointer NULL. - * - * This function returns true if the_chain is NULL and false otherwise. - * - * @param[in] the_chain is the chain to be checked for empty status. - * - * @retval true @a the_chain is @c NULL. - * @retval false @a the_chain is not @c NULL. - */ -RTEMS_INLINE_ROUTINE bool _Chain_Is_null( - const Chain_Control *the_chain -) -{ - return (the_chain == NULL); -} - -/** * @brief Is the chain node pointer NULL. * * This function returns true if the_node is NULL and false otherwise. diff --git a/cpukit/score/include/rtems/score/coremsgimpl.h b/cpukit/score/include/rtems/score/coremsgimpl.h index 3678b3c420..6c1f901eed 100644 --- a/cpukit/score/include/rtems/score/coremsgimpl.h +++ b/cpukit/score/include/rtems/score/coremsgimpl.h @@ -530,16 +530,6 @@ RTEMS_INLINE_ROUTINE void _CORE_message_queue_Prepend_unprotected ( ); } -/** - * This function returns true if the_message_queue is true and false otherwise. - */ -RTEMS_INLINE_ROUTINE bool _CORE_message_queue_Is_null ( - CORE_message_queue_Control *the_message_queue -) -{ - return ( the_message_queue == NULL ); -} - #if defined(RTEMS_SCORE_COREMSG_ENABLE_NOTIFICATION) /** * This function returns true if notification is enabled on this message diff --git a/cpukit/score/include/rtems/score/rbtreeimpl.h b/cpukit/score/include/rtems/score/rbtreeimpl.h index 4bc2155a4d..f3af7fe6ec 100644 --- a/cpukit/score/include/rtems/score/rbtreeimpl.h +++ b/cpukit/score/include/rtems/score/rbtreeimpl.h @@ -77,21 +77,6 @@ RTEMS_INLINE_ROUTINE RBTree_Direction _RBTree_Opposite_direction( } /** - * @brief Is this RBTree control pointer NULL. - * - * This function returns true if @a the_rbtree is NULL and false otherwise. - * - * @retval true @a the_rbtree is @c NULL. - * @retval false @a the_rbtree is not @c NULL. - */ -RTEMS_INLINE_ROUTINE bool _RBTree_Is_null( - const RBTree_Control *the_rbtree - ) -{ - return (the_rbtree == NULL); -} - -/** * @brief Is this node red. * * This function returns true if @a the_node is red and false otherwise. |