summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/score/inline/rtems/score/thread.inl6
2 files changed, 5 insertions, 6 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 47579a419e..ef61588634 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,8 @@
+2009-11-23 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * score/inline/rtems/score/thread.inl: Eliminate unused variable and
+ code.
+
2009-11-23 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1460/cpukit
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