summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/chaingetempty.c
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/score/src/chaingetempty.c
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 'cpukit/score/src/chaingetempty.c')
-rw-r--r--cpukit/score/src/chaingetempty.c44
1 files changed, 0 insertions, 44 deletions
diff --git a/cpukit/score/src/chaingetempty.c b/cpukit/score/src/chaingetempty.c
deleted file mode 100644
index 1efec7775d..0000000000
--- a/cpukit/score/src/chaingetempty.c
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- * @file
- *
- * @ingroup ScoreChain
- *
- * @brief _Chain_Get_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_Get_with_empty_check(
- Chain_Control *chain,
- Chain_Node **node
-)
-{
- ISR_Level level;
- bool is_empty_now;
-
- _ISR_Disable( level );
- is_empty_now = _Chain_Get_with_empty_check_unprotected( chain, node );
- _ISR_Enable( level );
-
- return is_empty_now;
-}