summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/include/rtems/chain.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-04 09:29:02 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-06 09:08:23 +0200
commitcd90052365788b48dcccb235a75754d41bfb29a3 (patch)
tree79ee94978b94b2f79ffc76290888593f75617c29 /cpukit/sapi/include/rtems/chain.h
parentscore: Delete _Chain_Prepend_with_empty_check() (diff)
downloadrtems-cd90052365788b48dcccb235a75754d41bfb29a3.tar.bz2
score: Delete _Chain_Get_with_empty_check()
This function is not used in the score. Update #2555.
Diffstat (limited to '')
-rw-r--r--cpukit/sapi/include/rtems/chain.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/cpukit/sapi/include/rtems/chain.h b/cpukit/sapi/include/rtems/chain.h
index 887623be7f..f7768904c5 100644
--- a/cpukit/sapi/include/rtems/chain.h
+++ b/cpukit/sapi/include/rtems/chain.h
@@ -780,20 +780,10 @@ bool rtems_chain_prepend_with_empty_check(
* @retval true The chain is empty after the node removal.
* @retval false The chain contained at least one node after the node removal.
*/
-#if defined( RTEMS_SMP )
bool rtems_chain_get_with_empty_check(
rtems_chain_control *chain,
rtems_chain_node **node
);
-#else
-RTEMS_INLINE_ROUTINE bool rtems_chain_get_with_empty_check(
- rtems_chain_control *chain,
- rtems_chain_node **node
-)
-{
- return _Chain_Get_with_empty_check( chain, node );
-}
-#endif
/**
* @brief Returns the node count of the chain.