summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-06-22 21:56:13 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-06-22 21:56:13 +0000
commit1d63ebb9b99e548931dfed19db95faf68a9d1923 (patch)
treef374c681f196011f3830c93302de27497dce6d35 /cpukit/rtems
parent2006-06-22 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-1d63ebb9b99e548931dfed19db95faf68a9d1923.tar.bz2
2006-06-22 Joel Sherrill <joel@OARcorp.com>
PR 1101/rtems * libcsupport/src/base_fs.c, rtems/src/taskcreate.c, rtems/src/tasks.c, score/src/coremutex.c: Remove dead code.
Diffstat (limited to 'cpukit/rtems')
-rw-r--r--cpukit/rtems/src/taskcreate.c5
-rw-r--r--cpukit/rtems/src/tasks.c5
2 files changed, 0 insertions, 10 deletions
diff --git a/cpukit/rtems/src/taskcreate.c b/cpukit/rtems/src/taskcreate.c
index a98db746d5..5360d980b4 100644
--- a/cpukit/rtems/src/taskcreate.c
+++ b/cpukit/rtems/src/taskcreate.c
@@ -87,11 +87,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 ba2fb91769..5805cf7823 100644
--- a/cpukit/rtems/src/tasks.c
+++ b/cpukit/rtems/src/tasks.c
@@ -256,11 +256,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 */