From 1d63ebb9b99e548931dfed19db95faf68a9d1923 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 22 Jun 2006 21:56:13 +0000 Subject: 2006-06-22 Joel Sherrill PR 1101/rtems * libcsupport/src/base_fs.c, rtems/src/taskcreate.c, rtems/src/tasks.c, score/src/coremutex.c: Remove dead code. --- cpukit/score/src/coremutex.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'cpukit/score/src/coremutex.c') 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; -- cgit v1.2.3