diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-06-22 21:56:13 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-06-22 21:56:13 +0000 |
commit | 1d63ebb9b99e548931dfed19db95faf68a9d1923 (patch) | |
tree | f374c681f196011f3830c93302de27497dce6d35 /cpukit/score/src | |
parent | 2006-06-22 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-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')
-rw-r--r-- | cpukit/score/src/coremutex.c | 11 |
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; |