diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-12-11 11:09:13 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-12-15 07:41:34 +0100 |
commit | 54c3fbd63ec79d0986ecfacb9a37eb5a6fe3d264 (patch) | |
tree | 506dcbae4cd83d0d430b2e907564ffd55b0434eb /cpukit/rtems/src/tasks.c | |
parent | configure.ac: Do not reference ep1a (diff) | |
download | rtems-54c3fbd63ec79d0986ecfacb9a37eb5a6fe3d264.tar.bz2 |
score: Initialize thread control to zero
This reduces the code size of the thread initialization.
Diffstat (limited to '')
-rw-r--r-- | cpukit/rtems/src/tasks.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/cpukit/rtems/src/tasks.c b/cpukit/rtems/src/tasks.c index c4eca04103..f5ba1c1556 100644 --- a/cpukit/rtems/src/tasks.c +++ b/cpukit/rtems/src/tasks.c @@ -55,21 +55,6 @@ static bool _RTEMS_tasks_Create_extension( api = created->API_Extensions[ THREAD_API_RTEMS ]; _ASR_Create( &api->Signal ); - _Thread_Action_initialize( &api->Signal_action ); -#if !defined(RTEMS_SMP) - created->task_variables = NULL; -#endif - - /* - * We know this is deprecated and don't want a warning on every BSP built. - */ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wdeprecated-declarations" - if ( rtems_configuration_get_notepads_enabled() ) { - for (i=0; i < RTEMS_NUMBER_NOTEPADS; i++) - api->Notepads[i] = 0; - } - #pragma GCC diagnostic pop return true; } |