summaryrefslogtreecommitdiffstats
path: root/cpukit/score
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-02-21 10:58:15 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-02-24 09:22:36 +0100
commit88543adeb5c7d18e179d18c84ea8c98d0a90c3c8 (patch)
tree64d4cdc9198d6148d732cdd41261ad93e7d69e28 /cpukit/score
parentscore: Simplify core barrier (diff)
downloadrtems-88543adeb5c7d18e179d18c84ea8c98d0a90c3c8.tar.bz2
score: Remove _CORE_barrier_Do_flush()
Call _Thread_queue_Flush_critical() directly.
Diffstat (limited to 'cpukit/score')
-rw-r--r--cpukit/score/src/corebarrierrelease.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/cpukit/score/src/corebarrierrelease.c b/cpukit/score/src/corebarrierrelease.c
deleted file mode 100644
index 3202171e7f..0000000000
--- a/cpukit/score/src/corebarrierrelease.c
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
- * @file
- *
- * @ingroup RTEMSScoreBarrier
- *
- * @brief This source file contains the implementation of
- * _CORE_barrier_Do_flush().
- */
-
-/*
- * COPYRIGHT (c) 1989-2006.
- * 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.
- */
-
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/score/corebarrierimpl.h>
-
-uint32_t _CORE_barrier_Do_flush(
- CORE_barrier_Control *the_barrier,
- Thread_queue_Flush_filter filter,
- Thread_queue_Context *queue_context
-)
-{
- return _Thread_queue_Flush_critical(
- &the_barrier->Wait_queue.Queue,
- &_CORE_barrier_Thread_queue_operations,
- filter,
- queue_context
- );
-}