summaryrefslogtreecommitdiffstats
path: root/cpukit/score/inline/rtems/score/thread.inl
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-11-23 20:07:04 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-11-23 20:07:04 +0000
commitef85611a8e1578cb35f62f7b7883f3e1ec8383dc (patch)
tree939d3dfe26f982ee228ef23bd9988d82d83f991d /cpukit/score/inline/rtems/score/thread.inl
parent2009-11-23 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-ef85611a8e1578cb35f62f7b7883f3e1ec8383dc.tar.bz2
2009-11-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/inline/rtems/score/thread.inl: Eliminate unused variable and code.
Diffstat (limited to 'cpukit/score/inline/rtems/score/thread.inl')
-rw-r--r--cpukit/score/inline/rtems/score/thread.inl6
1 files changed, 0 insertions, 6 deletions
diff --git a/cpukit/score/inline/rtems/score/thread.inl b/cpukit/score/inline/rtems/score/thread.inl
index 944aa9502d..9e9b50d8b3 100644
--- a/cpukit/score/inline/rtems/score/thread.inl
+++ b/cpukit/score/inline/rtems/score/thread.inl
@@ -39,12 +39,6 @@
RTEMS_INLINE_ROUTINE void _Thread_Stop_multitasking( void )
{
- Context_Control context_area;
- Context_Control *context_p = &context_area;
-
- if ( _System_state_Is_up(_System_state_Get ()) )
- context_p = &_Thread_Executing->Registers;
-
/*
* This may look a bit of an odd but _Context_Restart_self is just
* a very careful restore of a specific context which ensures that