diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-06-22 21:56:54 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-06-22 21:56:54 +0000 |
commit | 81a0908b2b1fc133cb52bc9ae9081f935cdf932b (patch) | |
tree | 4e116676a1a5cc1d48c63896e2627f93f86414fa | |
parent | 9bd4d1cdd0cb2f1e92b6ab2eda9bdaa7cb7fa35f (diff) |
2006-06-22 Joel Sherrill <joel@OARcorp.com>
PR 1101/rtems
* src/taskcreate.c, src/tasks.c: Remove dead code.
-rw-r--r-- | cpukit/rtems/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/rtems/src/taskcreate.c | 5 | ||||
-rw-r--r-- | cpukit/rtems/src/tasks.c | 5 |
3 files changed, 5 insertions, 10 deletions
diff --git a/cpukit/rtems/ChangeLog b/cpukit/rtems/ChangeLog index aa16e390bc..8498086f1c 100644 --- a/cpukit/rtems/ChangeLog +++ b/cpukit/rtems/ChangeLog @@ -1,3 +1,8 @@ +2006-06-22 Joel Sherrill <joel@OARcorp.com> + + PR 1101/rtems + * src/taskcreate.c, src/tasks.c: Remove dead code. + 2005-10-04 Till Straumann <strauman@slac.stanford.edu> PR 829/rtems diff --git a/cpukit/rtems/src/taskcreate.c b/cpukit/rtems/src/taskcreate.c index e0a0e20d8d..8d55f4cf4d 100644 --- a/cpukit/rtems/src/taskcreate.c +++ b/cpukit/rtems/src/taskcreate.c @@ -83,11 +83,6 @@ rtems_status_code rtems_task_create( * stack space. */ -#if 0 - if ( !_Stack_Is_enough( stack_size ) ) - return RTEMS_INVALID_SIZE; -#endif - /* * Fix the attribute set to match the attributes which * this processor (1) requires and (2) is able to support. diff --git a/cpukit/rtems/src/tasks.c b/cpukit/rtems/src/tasks.c index 19f0fcfaa3..3894eee732 100644 --- a/cpukit/rtems/src/tasks.c +++ b/cpukit/rtems/src/tasks.c @@ -252,11 +252,6 @@ void _RTEMS_tasks_Manager_initialization( * There may not be any RTEMS initialization tasks configured. */ -#if 0 - if ( user_tasks == NULL || number_of_initialization_tasks == 0 ) - _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, TRUE, RTEMS_TOO_MANY ); -#endif - _Objects_Initialize_information( &_RTEMS_tasks_Information, /* object information table */ OBJECTS_CLASSIC_API, /* object API */ |