From 600bb68fa166adbd1c7fd2fce1a1641c6f4a6c0f Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 27 Mar 2014 08:30:51 +0100 Subject: score: _Thread_queue_Extract_with_proxy() Drop the return status, since it is nowhere used. --- cpukit/score/include/rtems/score/threadqimpl.h | 2 +- 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 #include -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 ); } } -- cgit v1.2.3