summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/coremutex.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-06-22 21:56:13 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-06-22 21:56:13 +0000
commit1d63ebb9b99e548931dfed19db95faf68a9d1923 (patch)
treef374c681f196011f3830c93302de27497dce6d35 /cpukit/score/src/coremutex.c
parent2006-06-22 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-1d63ebb9b99e548931dfed19db95faf68a9d1923.tar.bz2
2006-06-22 Joel Sherrill <joel@OARcorp.com>
PR 1101/rtems * libcsupport/src/base_fs.c, rtems/src/taskcreate.c, rtems/src/tasks.c, score/src/coremutex.c: Remove dead code.
Diffstat (limited to 'cpukit/score/src/coremutex.c')
-rw-r--r--cpukit/score/src/coremutex.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/cpukit/score/src/coremutex.c b/cpukit/score/src/coremutex.c
index ea187d9290..173418ffc0 100644
--- a/cpukit/score/src/coremutex.c
+++ b/cpukit/score/src/coremutex.c
@@ -58,17 +58,6 @@ void _CORE_mutex_Initialize(
the_mutex->lock = initial_lock;
the_mutex->blocked_count = 0;
-#if 0
- if ( !the_mutex_attributes->only_owner_release &&
- the_mutex_attributes->nesting_allowed ) {
- _Internal_error_Occurred(
- INTERNAL_ERROR_CORE,
- TRUE,
- INTERNAL_ERROR_BAD_ATTRIBUTES
- );
- }
-#endif
-
if ( initial_lock == CORE_MUTEX_LOCKED ) {
the_mutex->nest_count = 1;
the_mutex->holder = _Thread_Executing;