[rtems commit] score: Delete superfluous assignments
Sebastian Huber
sebh at rtems.org
Tue Apr 22 07:30:13 UTC 2014
Module: rtems
Branch: master
Commit: 861346d18ee17aeffc8732aa3d16d4d5b0d23f76
Changeset: http://git.rtems.org/rtems/commit/?id=861346d18ee17aeffc8732aa3d16d4d5b0d23f76
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Apr 22 07:46:49 2014 +0200
score: Delete superfluous assignments
These values are already zero initialized by C run-time setup.
---
cpukit/score/src/thread.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/cpukit/score/src/thread.c b/cpukit/score/src/thread.c
index 226e63a..f67a297 100644
--- a/cpukit/score/src/thread.c
+++ b/cpukit/score/src/thread.c
@@ -43,13 +43,6 @@ void _Thread_Handler_initialization(void)
if ( stack_allocate_init_hook != NULL )
(*stack_allocate_init_hook)( rtems_configuration_get_stack_space_size() );
- _Thread_Dispatch_necessary = false;
- _Thread_Executing = NULL;
- _Thread_Heir = NULL;
-#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )
- _Thread_Allocated_fp = NULL;
-#endif
-
#if defined(RTEMS_MULTIPROCESSING)
_Thread_MP_Handler_initialization( maximum_proxies );
#endif
More information about the vc
mailing list