summaryrefslogtreecommitdiffstats
path: root/cpukit/score
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-04 09:37:15 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-06 09:08:24 +0200
commitd995a263b5de31583cd269c71a5ef760e98e8f26 (patch)
tree0916554dcc2cc384d2bdfd58ae65fe39571b15d1 /cpukit/score
parentscore: Delete _Chain_Get() (diff)
downloadrtems-d995a263b5de31583cd269c71a5ef760e98e8f26.tar.bz2
score: Delete _Chain_Append()
This function is not used in the score. Update #2555.
Diffstat (limited to 'cpukit/score')
-rw-r--r--cpukit/score/Makefile.am2
-rw-r--r--cpukit/score/include/rtems/score/chainimpl.h13
-rw-r--r--cpukit/score/src/chainappend.c51
3 files changed, 1 insertions, 65 deletions
diff --git a/cpukit/score/Makefile.am b/cpukit/score/Makefile.am
index 403508ddb8..455c99d13d 100644
--- a/cpukit/score/Makefile.am
+++ b/cpukit/score/Makefile.am
@@ -345,7 +345,7 @@ libscore_a_SOURCES += src/userextaddset.c \
src/userext.c src/userextremoveset.c src/userextiterate.c
## STD_C_FILES
-libscore_a_SOURCES += src/chain.c src/chainappend.c \
+libscore_a_SOURCES += src/chain.c \
src/chainnodecount.c \
src/debugisthreaddispatchingallowed.c \
src/interr.c src/isr.c src/wkspace.c src/wkstringduplicate.c
diff --git a/cpukit/score/include/rtems/score/chainimpl.h b/cpukit/score/include/rtems/score/chainimpl.h
index 166b58bfcc..ff66d46859 100644
--- a/cpukit/score/include/rtems/score/chainimpl.h
+++ b/cpukit/score/include/rtems/score/chainimpl.h
@@ -80,19 +80,6 @@ void _Chain_Initialize(
);
/**
- * @brief Append a node on the end of a chain.
- *
- * This routine appends @a the_node onto the end of @a the_chain.
- *
- * @note It disables interrupts to ensure the atomicity of the
- * append operation.
- */
-void _Chain_Append(
- Chain_Control *the_chain,
- Chain_Node *the_node
-);
-
-/**
* @brief Returns the node count of the chain.
*
* @param[in] chain The chain.
diff --git a/cpukit/score/src/chainappend.c b/cpukit/score/src/chainappend.c
deleted file mode 100644
index 09c66ecbef..0000000000
--- a/cpukit/score/src/chainappend.c
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- * @file
- *
- * @brief Append a Node on the End of a Chain
- * @ingroup ScoreChain
-*/
-
-/*
- * COPYRIGHT (c) 1989-2007.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.org/license/LICENSE.
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/system.h>
-#include <rtems/score/address.h>
-#include <rtems/score/chainimpl.h>
-#include <rtems/score/isr.h>
-
-/*
- * _Chain_Append
- *
- * This kernel routine puts a node on the end of the specified chain.
- *
- * Input parameters:
- * the_chain - pointer to chain header
- * node - address of node to put at rear of chain
- *
- * Output parameters: NONE
- *
- * INTERRUPT LATENCY:
- * only case
- */
-
-void _Chain_Append(
- Chain_Control *the_chain,
- Chain_Node *node
-)
-{
- ISR_Level level;
-
- _ISR_Disable( level );
- _Chain_Append_unprotected( the_chain, node );
- _ISR_Enable( level );
-}