summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/include/rtems
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-04 06:17:59 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-06 09:08:23 +0200
commitb0354b0eeee4753d947e7b359da0b7931da4d39f (patch)
tree501ace6933a2b18d6362c0a2354971bf0b214f43 /cpukit/sapi/include/rtems
parentscore: Delete _Chain_Get_with_empty_check() (diff)
downloadrtems-b0354b0eeee4753d947e7b359da0b7931da4d39f.tar.bz2
score: Delete _Chain_Insert()
This function is not used in the score. Update #2555.
Diffstat (limited to 'cpukit/sapi/include/rtems')
-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 f7768904c5..81f07b8af4 100644
--- a/cpukit/sapi/include/rtems/chain.h
+++ b/cpukit/sapi/include/rtems/chain.h
@@ -642,20 +642,10 @@ RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get_first_unprotected(
* NOTE: It disables interrupts to ensure the atomicity
* of the extract operation.
*/
-#if defined( RTEMS_SMP )
void rtems_chain_insert(
rtems_chain_node *after_node,
rtems_chain_node *the_node
);
-#else
-RTEMS_INLINE_ROUTINE void rtems_chain_insert(
- rtems_chain_node *after_node,
- rtems_chain_node *the_node
-)
-{
- _Chain_Insert( after_node, the_node );
-}
-#endif
/**
* @brief See _Chain_Insert_unprotected().