summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/chain.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-10-13 13:47:06 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-10-14 18:10:50 +0200
commit3972085dbab9b05e839b2612abf625c6097a180b (patch)
tree6ffb806aab62a1e0bc809bf67de8d39d2776f0d4 /cpukit/include/rtems/chain.h
parentrtems: Remove superfluous include (diff)
downloadrtems-3972085dbab9b05e839b2612abf625c6097a180b.tar.bz2
Remove *_Is_null() inline functions
Simply compare the values against NULL.
Diffstat (limited to '')
-rw-r--r--cpukit/include/rtems/chain.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/include/rtems/chain.h b/cpukit/include/rtems/chain.h
index 11ebdca322..25ea0b23b7 100644
--- a/cpukit/include/rtems/chain.h
+++ b/cpukit/include/rtems/chain.h
@@ -234,7 +234,7 @@ RTEMS_INLINE_ROUTINE bool rtems_chain_is_null_node(
const rtems_chain_node *the_node
)
{
- return _Chain_Is_null_node( the_node );
+ return the_node == NULL;
}
/**