diff --git a/cpukit/include/rtems/score/schedulerimpl.h b/cpukit/include/rtems/score/schedulerimpl.h index 2c53c05056..6e079f3a80 100644 --- a/cpukit/include/rtems/score/schedulerimpl.h +++ b/cpukit/include/rtems/score/schedulerimpl.h @@ -761,7 +761,7 @@ RTEMS_INLINE_ROUTINE void _Scheduler_Generic_block( /* TODO: flash critical section? */ - if ( _Thread_Is_executing( the_thread ) || _Thread_Is_heir( the_thread ) ) { + if ( _Thread_Is_heir( the_thread ) ) { ( *schedule )( scheduler, the_thread, true ); } }