diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-17 16:07:11 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-20 07:49:40 +0200 |
commit | 23294fd2255031eefe708075064f58bf54d43279 (patch) | |
tree | 771fca3f1ff94008c28f5ad459971f1bfbcbaff7 /cpukit/score/src/threadget.c | |
parent | testsuites: Replace _Thread_Get() (diff) | |
download | rtems-23294fd2255031eefe708075064f58bf54d43279.tar.bz2 |
score: Delete unused _Thread_Get()
Update #2555.
Diffstat (limited to 'cpukit/score/src/threadget.c')
-rw-r--r-- | cpukit/score/src/threadget.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/cpukit/score/src/threadget.c b/cpukit/score/src/threadget.c index c6504994dd..194b68be87 100644 --- a/cpukit/score/src/threadget.c +++ b/cpukit/score/src/threadget.c @@ -21,28 +21,6 @@ #include <rtems/score/threadimpl.h> -Thread_Control *_Thread_Get( - Objects_Id id, - Objects_Locations *location -) -{ - Objects_Information *information; - - if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ) { - _Thread_Disable_dispatch(); - *location = OBJECTS_LOCAL; - return _Thread_Executing; - } - - information = _Thread_Get_objects_information( id ); - if ( information == NULL ) { - *location = OBJECTS_ERROR; - return NULL; - } - - return (Thread_Control *) _Objects_Get( information, id, location ); -} - Thread_Control *_Thread_Get_interrupt_disable( Objects_Id id, ISR_lock_Context *lock_context |