summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/chainprependempty.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-04 09:24:47 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-06 09:08:23 +0200
commitc13038798501933e9ee33bbfa7f49010281c5158 (patch)
tree343c1dea3acceb53a76849fc35d3b8c55004e3d5 /cpukit/score/src/chainprependempty.c
parentscore: Delete _Chain_Append_with_empty_check() (diff)
downloadrtems-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/score/src/chainprependempty.c44
1 files changed, 0 insertions, 44 deletions
diff --git a/cpukit/score/src/chainprependempty.c b/cpukit/score/src/chainprependempty.c
deleted file mode 100644
index f83d628726..0000000000
--- a/cpukit/score/src/chainprependempty.c
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- * @file
- *
- * @ingroup ScoreChain
- *
- * @brief _Chain_Prepend_with_empty_check() implementation.
- */
-
-/*
- * Copyright (c) 2010 embedded brains GmbH. All rights reserved.
- *
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * 82178 Puchheim
- * Germany
- * <rtems@embedded-brains.de>
- *
- * 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/chainimpl.h>
-#include <rtems/score/isr.h>
-
-bool _Chain_Prepend_with_empty_check(
- Chain_Control *chain,
- Chain_Node *node
-)
-{
- ISR_Level level;
- bool was_empty;
-
- _ISR_Disable( level );
- was_empty = _Chain_Prepend_with_empty_check_unprotected( chain, node );
- _ISR_Enable( level );
-
- return was_empty;
-}