diff options
Diffstat (limited to 'c/src/exec/itron/src/rel_wai.c')
-rw-r--r-- | c/src/exec/itron/src/rel_wai.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/c/src/exec/itron/src/rel_wai.c b/c/src/exec/itron/src/rel_wai.c index 81d7e6dc94..1fb3cbbcd4 100644 --- a/c/src/exec/itron/src/rel_wai.c +++ b/c/src/exec/itron/src/rel_wai.c @@ -28,16 +28,10 @@ ER rel_wai( Objects_Locations location; the_thread = _ITRON_Task_Get( tskid, &location ); - if (!the_thread) - _ITRON_return_errorno( _ITRON_Task_Clarify_get_id_error( tskid ) ); - - _Thread_Disable_dispatch(); - switch ( location ) { case OBJECTS_REMOTE: case OBJECTS_ERROR: - _Thread_Enable_dispatch(); - return _ITRON_Task_Clarify_get_id_error( tskid ); + _ITRON_return_errorno( _ITRON_Task_Clarify_get_id_error( tskid ) ); case OBJECTS_LOCAL: /* |