summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/coresemimpl.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-27 09:41:18 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-30 16:16:22 +0200
commit3c1ad25768e2ecade380ee1a211b93fa4cb3ea22 (patch)
treed24376829e0587b908dce53875c69a6c7be199b2 /cpukit/score/include/rtems/score/coresemimpl.h
parentrtems: Simplify rtems_semaphore_flush() (diff)
downloadrtems-3c1ad25768e2ecade380ee1a211b93fa4cb3ea22.tar.bz2
rtems: Simplify rtems_semaphore_delete()
Due to the unified status codes, we can now use a common flush and destroy method for semaphore and mutex variants.
Diffstat (limited to 'cpukit/score/include/rtems/score/coresemimpl.h')
-rw-r--r--cpukit/score/include/rtems/score/coresemimpl.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/cpukit/score/include/rtems/score/coresemimpl.h b/cpukit/score/include/rtems/score/coresemimpl.h
index 24d8c5114d..487a91b3c7 100644
--- a/cpukit/score/include/rtems/score/coresemimpl.h
+++ b/cpukit/score/include/rtems/score/coresemimpl.h
@@ -141,20 +141,6 @@ RTEMS_INLINE_ROUTINE Status_Control _CORE_semaphore_Surrender(
return status;
}
-RTEMS_INLINE_ROUTINE void _CORE_semaphore_Flush(
- CORE_semaphore_Control *the_semaphore,
- const Thread_queue_Operations *operations,
- Thread_queue_Context *queue_context
-)
-{
- _Thread_queue_Flush_critical(
- &the_semaphore->Wait_queue.Queue,
- operations,
- _Thread_queue_Flush_status_unavailable,
- queue_context
- );
-}
-
/**
* This routine returns the current count associated with the semaphore.
*