summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spthreadq01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/spthreadq01/init.c')
-rw-r--r--testsuites/sptests/spthreadq01/init.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/testsuites/sptests/spthreadq01/init.c b/testsuites/sptests/spthreadq01/init.c
index ffaf3e946e..233f3df4b6 100644
--- a/testsuites/sptests/spthreadq01/init.c
+++ b/testsuites/sptests/spthreadq01/init.c
@@ -31,16 +31,14 @@ void threadq_first_empty(
)
{
Thread_queue_Control tq;
- bool we_did_it;
printf( "Init - initialize thread queue for %s\n", discipline_string );
_Thread_queue_Initialize( &tq, discipline, 0x01, 3 );
puts( "Init - _Thread_queue_Extract - thread not blocked on a thread queue" );
_Thread_Disable_dispatch();
- we_did_it = _Thread_queue_Extract( &tq, _Thread_Executing );
+ _Thread_queue_Extract( &tq, _Thread_Executing );
_Thread_Enable_dispatch();
- rtems_test_assert( !we_did_it );
/* is there more to check? */
}