libcsupport: Do not use _ISR_Nest_level

The _Thread_Dispatch_is_enabled() is false if _ISR_Nest_level is not
equal to zero.
This commit is contained in:
Sebastian Huber
2013-07-17 16:14:49 +02:00
parent 401f1b9d56
commit e7ce41bb6d
2 changed files with 0 additions and 6 deletions

View File

@@ -34,9 +34,6 @@ bool malloc_is_system_state_OK(void)
if ( !_Thread_Dispatch_is_enabled() )
return false;
if ( _ISR_Nest_level > 0 )
return false;
return true;
}

View File

@@ -40,9 +40,6 @@ void *realloc(
if (_System_state_Is_up(_System_state_Get())) {
if (!_Thread_Dispatch_is_enabled())
return (void *) 0;
if (_ISR_Nest_level > 0)
return (void *) 0;
}
/*