diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-06-22 21:57:02 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-06-22 21:57:02 +0000 |
commit | 575b66a70466c7d0ecd27ada7671b96cd794afca (patch) | |
tree | 1d7dfdf75695f42a96c4c8b6cf94a093c5dca09c | |
parent | 81a0908b2b1fc133cb52bc9ae9081f935cdf932b (diff) |
2006-06-22 Joel Sherrill <joel@OARcorp.com>
PR 1101/rtems
* src/coremutex.c: Remove dead code.
-rw-r--r-- | cpukit/score/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/score/src/coremutex.c | 11 |
2 files changed, 5 insertions, 11 deletions
diff --git a/cpukit/score/ChangeLog b/cpukit/score/ChangeLog index 58d62054c4..774598b495 100644 --- a/cpukit/score/ChangeLog +++ b/cpukit/score/ChangeLog @@ -1,3 +1,8 @@ +2006-06-22 Joel Sherrill <joel@OARcorp.com> + + PR 1101/rtems + * src/coremutex.c: Remove dead code. + 2006-03-07 Steven Johnson <sjohnson@sakuraindustries.com> PR 850/rtems diff --git a/cpukit/score/src/coremutex.c b/cpukit/score/src/coremutex.c index cebcbad8ff..03246ce53e 100644 --- a/cpukit/score/src/coremutex.c +++ b/cpukit/score/src/coremutex.c @@ -54,17 +54,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; |