diff options
-rw-r--r-- | cpukit/score/include/rtems/score/threadqimpl.h | 2 | ||||
-rw-r--r-- | cpukit/score/src/threadqextractwithproxy.c | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/cpukit/score/include/rtems/score/threadqimpl.h b/cpukit/score/include/rtems/score/threadqimpl.h index a8b00de251..040e16bc07 100644 --- a/cpukit/score/include/rtems/score/threadqimpl.h +++ b/cpukit/score/include/rtems/score/threadqimpl.h @@ -151,7 +151,7 @@ bool _Thread_queue_Extract( * and ensures that if there is a proxy for this task on * another node, it is also dealt with. */ -bool _Thread_queue_Extract_with_proxy( +void _Thread_queue_Extract_with_proxy( Thread_Control *the_thread ); diff --git a/cpukit/score/src/threadqextractwithproxy.c b/cpukit/score/src/threadqextractwithproxy.c index f1c194952f..fb06526e9e 100644 --- a/cpukit/score/src/threadqextractwithproxy.c +++ b/cpukit/score/src/threadqextractwithproxy.c @@ -27,7 +27,7 @@ #include <rtems/score/objectimpl.h> #include <rtems/score/statesimpl.h> -bool _Thread_queue_Extract_with_proxy( +void _Thread_queue_Extract_with_proxy( Thread_Control *the_thread ) { @@ -52,8 +52,6 @@ bool _Thread_queue_Extract_with_proxy( the_thread_queue = the_thread->Wait.queue; if ( the_thread_queue != NULL ) { - return _Thread_queue_Extract( the_thread_queue, the_thread ); - } else { - return false; + _Thread_queue_Extract( the_thread_queue, the_thread ); } } |