summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/chainimpl.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-04 06:52:55 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-06 09:08:22 +0200
commit6406b693b612bc6cbb7e3d55ae48ba7c55716659 (patch)
tree9a9e25722be46841040da7edbd5bce5446edff7c /cpukit/score/include/rtems/score/chainimpl.h
parentrtems: Avoid Giant lock for partitions (diff)
downloadrtems-6406b693b612bc6cbb7e3d55ae48ba7c55716659.tar.bz2
score: Delete _Chain_Prepend()
This function is not used in the score. Update #2555.
Diffstat (limited to '')
-rw-r--r--cpukit/score/include/rtems/score/chainimpl.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/cpukit/score/include/rtems/score/chainimpl.h b/cpukit/score/include/rtems/score/chainimpl.h
index 08cbab6bce..8b888a7540 100644
--- a/cpukit/score/include/rtems/score/chainimpl.h
+++ b/cpukit/score/include/rtems/score/chainimpl.h
@@ -793,25 +793,6 @@ RTEMS_INLINE_ROUTINE void _Chain_Prepend_unprotected(
}
/**
- * @brief Prepend a node (protected).
- *
- * This routine prepends the_node onto the front of the_chain.
- *
- * @param[in] the_chain is the chain to be operated upon.
- * @param[in] the_node is the node to be prepended.
- *
- * @note It disables interrupts to ensure the atomicity of the
- * prepend operation.
- */
-RTEMS_INLINE_ROUTINE void _Chain_Prepend(
- Chain_Control *the_chain,
- Chain_Node *the_node
-)
-{
- _Chain_Insert(_Chain_Head(the_chain), the_node);
-}
-
-/**
* @brief Append a node and check if the chain was empty before (unprotected).
*
* This routine appends the_node onto the end of the_chain.