diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-10 13:48:27 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-10 13:48:27 +0000 |
commit | eb02f47b126b56091ffaeaad470a48e2ac6d57b5 (patch) | |
tree | d52c66ad2d1a1b60d4eecd873949aa07477f8b87 /cpukit/itron/src/task.c | |
parent | Added support for ITRON tests. (diff) | |
download | rtems-eb02f47b126b56091ffaeaad470a48e2ac6d57b5.tar.bz2 |
Committed modifications from ITRON Task and Task Dependendent Synchronization
Working Group. Included are tests.
Diffstat (limited to '')
-rw-r--r-- | cpukit/itron/src/task.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cpukit/itron/src/task.c b/cpukit/itron/src/task.c index f646b29d49..c4e785a4bb 100644 --- a/cpukit/itron/src/task.c +++ b/cpukit/itron/src/task.c @@ -117,10 +117,8 @@ ER _ITRON_Delete_task( Objects_Information *the_information; the_information = _Objects_Get_information( the_thread->Object.id ); - if ( !the_information ) { - return -1; /* XXX */ - /* This should never happen if _Thread_Get() works right */ + return E_OBJ; /* XXX - should never happen */ } _Thread_Close( the_information, the_thread ); |