This fix relates to a Coverity issue (UNUSED_VALUE).
---
cpukit/score/src/scheduleredfsmp.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/cpukit/score/src/scheduleredfsmp.c
b/cpukit/score/src/scheduleredfsmp.c
index 985f06f4bf..b8b1d9de95 100644
--- a/cpukit/score/src/scheduleredfsmp.c
+++ b/cpukit/score/src/scheduleredfsmp.c
@@ -692,13 +692,12 @@ void _Scheduler_EDF_SMP_Pin(
(void) scheduler;
node = _Scheduler_EDF_SMP_Node_downcast( node_base );
- rqi = (uint8_t) _Per_CPU_Get_index( cpu ) + 1;
_Assert(
_Scheduler_SMP_Node_state( &node->Base.Base ) == SCHEDULER_SMP_NODE_BLOCKED
);
- node = _Scheduler_EDF_SMP_Node_downcast( node_base );
+ rqi = (uint8_t) _Per_CPU_Get_index( cpu ) + 1;
node->ready_queue_index = rqi;
node->pinning_ready_queue_index = rqi;
}
--
2.26.2
_______________________________________________
devel mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/devel