From 72d8db9c4a4b3717087cec46dc9037f71dd7b9f3 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 24 Mar 2014 07:53:34 +0100 Subject: [PATCH] score: Delete _Thread_Internal_free() --- cpukit/score/include/rtems/score/threadimpl.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/cpukit/score/include/rtems/score/threadimpl.h b/cpukit/score/include/rtems/score/threadimpl.h index d8c7f30095..1be39b4e72 100644 --- a/cpukit/score/include/rtems/score/threadimpl.h +++ b/cpukit/score/include/rtems/score/threadimpl.h @@ -576,17 +576,6 @@ RTEMS_INLINE_ROUTINE Thread_Control *_Thread_Internal_allocate( void ) return (Thread_Control *) _Objects_Allocate( &_Thread_Internal_information ); } -/** - * This routine frees an internal thread. - */ - -RTEMS_INLINE_ROUTINE void _Thread_Internal_free ( - Thread_Control *the_task -) -{ - _Objects_Free( &_Thread_Internal_information, &the_task->Object ); -} - RTEMS_INLINE_ROUTINE void _Thread_Signal_notification( Thread_Control *thread ) { if ( _ISR_Is_in_progress() && _Thread_Is_executing( thread ) ) {