summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-27 08:30:51 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-31 10:14:43 +0200
commit600bb68fa166adbd1c7fd2fce1a1641c6f4a6c0f (patch)
tree30c0346ce95caec97a2129c037bb20000870766f
parentscore: Delete CORE_mutex_Control::lock (diff)
downloadrtems-600bb68fa166adbd1c7fd2fce1a1641c6f4a6c0f.tar.bz2
score: _Thread_queue_Extract_with_proxy()
Drop the return status, since it is nowhere used.
-rw-r--r--cpukit/score/include/rtems/score/threadqimpl.h2
-rw-r--r--cpukit/score/src/threadqextractwithproxy.c6
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 );
}
}