summaryrefslogtreecommitdiffstats
path: root/cpukit/score/inline/rtems/score/schedulerpriority.inl
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-04-18 22:01:47 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-04-18 22:01:47 +0000
commit6f68d5faaf1f7d4d910c079cf9238360f00124c4 (patch)
tree23a877b7a894e4ae0054f785d7d1d10c4fde9eeb /cpukit/score/inline/rtems/score/schedulerpriority.inl
parent2011-04-18 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff)
downloadrtems-6f68d5faaf1f7d4d910c079cf9238360f00124c4.tar.bz2
2011-04-18 Joel Sherrill <joel.sherrilL@OARcorp.com>
* posix/src/mqueuegetattr.c, score/inline/rtems/score/schedulerpriority.inl: Remove warnings.
Diffstat (limited to 'cpukit/score/inline/rtems/score/schedulerpriority.inl')
-rw-r--r--cpukit/score/inline/rtems/score/schedulerpriority.inl4
1 files changed, 0 insertions, 4 deletions
diff --git a/cpukit/score/inline/rtems/score/schedulerpriority.inl b/cpukit/score/inline/rtems/score/schedulerpriority.inl
index 680606ce53..ab5f117334 100644
--- a/cpukit/score/inline/rtems/score/schedulerpriority.inl
+++ b/cpukit/score/inline/rtems/score/schedulerpriority.inl
@@ -86,10 +86,8 @@ RTEMS_INLINE_ROUTINE void _Scheduler_priority_Ready_queue_enqueue_first(
)
{
Scheduler_priority_Per_thread *sched_info;
- Chain_Control *ready;
sched_info = (Scheduler_priority_Per_thread *) the_thread->scheduler_info;
- ready = sched_info->ready_chain;
_Priority_bit_map_Add( &sched_info->Priority_map );
@@ -159,10 +157,8 @@ RTEMS_INLINE_ROUTINE void _Scheduler_priority_Ready_queue_requeue(
)
{
Scheduler_priority_Per_thread *sched_info;
- Chain_Control *ready;
sched_info = (Scheduler_priority_Per_thread *) the_thread->scheduler_info;
- ready = sched_info->ready_chain;
if ( !_Chain_Has_only_one_node( sched_info->ready_chain ) ) {
_Chain_Extract_unprotected( &the_thread->Object.Node );