diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-04 09:24:47 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-06 09:08:23 +0200 |
commit | c13038798501933e9ee33bbfa7f49010281c5158 (patch) | |
tree | 343c1dea3acceb53a76849fc35d3b8c55004e3d5 /cpukit/sapi/include/rtems/chain.h | |
parent | score: Delete _Chain_Append_with_empty_check() (diff) | |
download | rtems-c13038798501933e9ee33bbfa7f49010281c5158.tar.bz2 |
score: Delete _Chain_Prepend_with_empty_check()
This function is not used in the score.
Update #2555.
Diffstat (limited to '')
-rw-r--r-- | cpukit/sapi/include/rtems/chain.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/cpukit/sapi/include/rtems/chain.h b/cpukit/sapi/include/rtems/chain.h index 01d743f972..887623be7f 100644 --- a/cpukit/sapi/include/rtems/chain.h +++ b/cpukit/sapi/include/rtems/chain.h @@ -763,20 +763,10 @@ bool rtems_chain_append_with_empty_check( * @retval true The chain was empty before the prepend. * @retval false The chain contained at least one node before the prepend. */ -#if defined( RTEMS_SMP ) bool rtems_chain_prepend_with_empty_check( rtems_chain_control *chain, rtems_chain_node *node ); -#else -RTEMS_INLINE_ROUTINE bool rtems_chain_prepend_with_empty_check( - rtems_chain_control *chain, - rtems_chain_node *node -) -{ - return _Chain_Prepend_with_empty_check( chain, node ); -} -#endif /** * @brief Tries to get the first @a node and check if the @a chain is empty |