diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-11-21 15:09:46 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-11-26 10:02:08 +0100 |
commit | 96962b5d7a5171065c774281731c9f588be53882 (patch) | |
tree | bf3c49f64e954cdbf665c2a427c58024824da36b /cpukit/score/src/threadqdequeuepriority.c | |
parent | score: Use local variables for consistency (diff) | |
download | rtems-96962b5d7a5171065c774281731c9f588be53882.tar.bz2 |
score: Simplify _Thread_queue_Dequeue_priority()
Diffstat (limited to 'cpukit/score/src/threadqdequeuepriority.c')
-rw-r--r-- | cpukit/score/src/threadqdequeuepriority.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/src/threadqdequeuepriority.c b/cpukit/score/src/threadqdequeuepriority.c index fda101d36b..f958d045ac 100644 --- a/cpukit/score/src/threadqdequeuepriority.c +++ b/cpukit/score/src/threadqdequeuepriority.c @@ -91,14 +91,14 @@ dequeue: if ( !_Watchdog_Is_active( &the_thread->Timer ) ) { _ISR_Enable( level ); - _Thread_Unblock( the_thread ); } else { _Watchdog_Deactivate( &the_thread->Timer ); _ISR_Enable( level ); (void) _Watchdog_Remove( &the_thread->Timer ); - _Thread_Unblock( the_thread ); } + _Thread_Unblock( the_thread ); + #if defined(RTEMS_MULTIPROCESSING) if ( !_Objects_Is_local_id( the_thread->Object.id ) ) _Thread_MP_Free_proxy( the_thread ); |