[rtems commit] score: Delete _Thread_Internal_free()

Sebastian Huber sebh at rtems.org
Mon Mar 24 07:25:02 UTC 2014


Module:    rtems
Branch:    master
Commit:    72d8db9c4a4b3717087cec46dc9037f71dd7b9f3
Changeset: http://git.rtems.org/rtems/commit/?id=72d8db9c4a4b3717087cec46dc9037f71dd7b9f3

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Mar 24 07:53:34 2014 +0100

score: Delete _Thread_Internal_free()

---

 cpukit/score/include/rtems/score/threadimpl.h |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/cpukit/score/include/rtems/score/threadimpl.h b/cpukit/score/include/rtems/score/threadimpl.h
index d8c7f30..1be39b4 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 ) ) {




More information about the vc mailing list