summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-12 21:12:27 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-12 21:12:27 +0000
commitea6bfcbe1eaa2ddc38f6db16e63d10eb3e4e96ac (patch)
tree5af35c714d22edf385b46fe99c5e9e0a5310a9c9 /c
parent6af8143502b8de4a58e7c4782c8c28a86b180459 (diff)
downloadrtems-ea6bfcbe1eaa2ddc38f6db16e63d10eb3e4e96ac.tar.bz2
+ Modified correct return path to call _ITRON_return_errorno( E_OK ) instead
of enabling dispatching and returning E_OK. + Changed validation of the_thread to validation of location.
Diffstat (limited to 'c')
-rw-r--r--c/src/exec/itron/src/can_wup.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/c/src/exec/itron/src/can_wup.c b/c/src/exec/itron/src/can_wup.c
index b7442d1392..61ef0dc259 100644
--- a/c/src/exec/itron/src/can_wup.c
+++ b/c/src/exec/itron/src/can_wup.c
@@ -29,9 +29,6 @@ ER can_wup(
Objects_Locations location;
the_thread = _ITRON_Task_Get( tskid, &location );
- if (!the_thread)
- _ITRON_return_errorno( _ITRON_Task_Clarify_get_id_error( tskid ) );
-
switch ( location ) {
case OBJECTS_REMOTE:
case OBJECTS_ERROR:
@@ -41,9 +38,9 @@ ER can_wup(
/*
* XXX - FILL ME IN.
*/
- return E_OK;
+ _ITRON_return_errorno( E_OK );
}
- return E_OBJ; /* XXX - Should never get here */
+ _ITRON_return_errorno( E_OBJ ); /* XXX - Should never get here */
}