diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-10-13 13:47:06 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-10-14 18:10:50 +0200 |
commit | 3972085dbab9b05e839b2612abf625c6097a180b (patch) | |
tree | 6ffb806aab62a1e0bc809bf67de8d39d2776f0d4 /cpukit/include/rtems/score/chainimpl.h | |
parent | rtems: Remove superfluous include (diff) | |
download | rtems-3972085dbab9b05e839b2612abf625c6097a180b.tar.bz2 |
Remove *_Is_null() inline functions
Simply compare the values against NULL.
Diffstat (limited to 'cpukit/include/rtems/score/chainimpl.h')
-rw-r--r-- | cpukit/include/rtems/score/chainimpl.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/cpukit/include/rtems/score/chainimpl.h b/cpukit/include/rtems/score/chainimpl.h index 15bce3668c..2d78c4ec6d 100644 --- a/cpukit/include/rtems/score/chainimpl.h +++ b/cpukit/include/rtems/score/chainimpl.h @@ -167,23 +167,6 @@ RTEMS_INLINE_ROUTINE bool _Chain_Are_nodes_equal( } /** - * @brief Checks if the chain node pointer is NULL. - * - * This function returns true if the_node is NULL and false otherwise. - * - * @param the_node The node pointer to check. - * - * @retval true @a the_node is @c NULL. - * @retval false @a the_node is not @c NULL. - */ -RTEMS_INLINE_ROUTINE bool _Chain_Is_null_node( - const Chain_Node *the_node -) -{ - return (the_node == NULL); -} - -/** * @brief Returns pointer to chain head. * * This function returns a pointer to the head node on the chain. |