forked from Imagelibrary/rtems
score: _Thread_queue_Extract_with_proxy()
Drop the return status, since it is nowhere used.
This commit is contained in:
@@ -151,7 +151,7 @@ bool _Thread_queue_Extract(
|
|||||||
* and ensures that if there is a proxy for this task on
|
* and ensures that if there is a proxy for this task on
|
||||||
* another node, it is also dealt with.
|
* another node, it is also dealt with.
|
||||||
*/
|
*/
|
||||||
bool _Thread_queue_Extract_with_proxy(
|
void _Thread_queue_Extract_with_proxy(
|
||||||
Thread_Control *the_thread
|
Thread_Control *the_thread
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
#include <rtems/score/objectimpl.h>
|
#include <rtems/score/objectimpl.h>
|
||||||
#include <rtems/score/statesimpl.h>
|
#include <rtems/score/statesimpl.h>
|
||||||
|
|
||||||
bool _Thread_queue_Extract_with_proxy(
|
void _Thread_queue_Extract_with_proxy(
|
||||||
Thread_Control *the_thread
|
Thread_Control *the_thread
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
@@ -52,8 +52,6 @@ bool _Thread_queue_Extract_with_proxy(
|
|||||||
|
|
||||||
the_thread_queue = the_thread->Wait.queue;
|
the_thread_queue = the_thread->Wait.queue;
|
||||||
if ( the_thread_queue != NULL ) {
|
if ( the_thread_queue != NULL ) {
|
||||||
return _Thread_queue_Extract( the_thread_queue, the_thread );
|
_Thread_queue_Extract( the_thread_queue, the_thread );
|
||||||
} else {
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user