diff --git a/cpukit/score/inline/rtems/score/scheduler.inl b/cpukit/score/inline/rtems/score/scheduler.inl index 20460d1540..e3ced3900f 100644 --- a/cpukit/score/inline/rtems/score/scheduler.inl +++ b/cpukit/score/inline/rtems/score/scheduler.inl @@ -118,7 +118,7 @@ RTEMS_INLINE_ROUTINE void _Scheduler_Free( Thread_Control *the_thread ) { - return _Scheduler.Operations.free( the_thread ); + _Scheduler.Operations.free( the_thread ); } /**