diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-07-11 13:51:10 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-07-11 13:51:10 +0200 |
commit | 3b14e7aa6e6d90cc305e894fe7e29c7b8802a722 (patch) | |
tree | b7e511fd90d33187525f005fc0cab1f490e8001d /cpukit | |
parent | score: Make EDF the default SMP scheduler (diff) | |
download | rtems-3b14e7aa6e6d90cc305e894fe7e29c7b8802a722.tar.bz2 |
rtems: Fix warning
Update #3059.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/rtems/src/schedulerremoveprocessor.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cpukit/rtems/src/schedulerremoveprocessor.c b/cpukit/rtems/src/schedulerremoveprocessor.c index 06acacd158..ea3c6218f6 100644 --- a/cpukit/rtems/src/schedulerremoveprocessor.c +++ b/cpukit/rtems/src/schedulerremoveprocessor.c @@ -68,7 +68,6 @@ rtems_status_code rtems_scheduler_remove_processor( { const Scheduler_Control *scheduler; #if defined(RTEMS_SMP) - uint32_t processor_count; Scheduler_Processor_removal_context iter_context; ISR_lock_Context lock_context; Scheduler_Context *scheduler_context; @@ -105,7 +104,6 @@ rtems_status_code rtems_scheduler_remove_processor( _ISR_lock_ISR_disable( &lock_context ); _Scheduler_Acquire_critical( scheduler, &lock_context ); _Processor_mask_Clear( &scheduler_context->Processors, cpu_index ); - processor_count = _Processor_mask_Count( &scheduler_context->Processors ); _Scheduler_Release_critical( scheduler, &lock_context ); _ISR_lock_ISR_enable( &lock_context ); |