From 54c3fbd63ec79d0986ecfacb9a37eb5a6fe3d264 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 11 Dec 2015 11:09:13 +0100 Subject: score: Initialize thread control to zero This reduces the code size of the thread initialization. --- cpukit/rtems/src/tasks.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'cpukit/rtems/src/tasks.c') 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; } -- cgit v1.2.3