summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/schedulersmpimpl.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-10-31 08:04:07 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-11-02 10:05:45 +0100
commitb5f1b249028ea2be69a4ad06aa822c16cb4ac57e (patch)
treee05f807f869d1789088b539d0ffe4b8330564837 /cpukit/score/include/rtems/score/schedulersmpimpl.h
parentscore: Delete Resource Handler (diff)
downloadrtems-b5f1b249028ea2be69a4ad06aa822c16cb4ac57e.tar.bz2
score: Delete Scheduler_Node::accepts_help
Update #2556.
Diffstat (limited to 'cpukit/score/include/rtems/score/schedulersmpimpl.h')
-rw-r--r--cpukit/score/include/rtems/score/schedulersmpimpl.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/cpukit/score/include/rtems/score/schedulersmpimpl.h b/cpukit/score/include/rtems/score/schedulersmpimpl.h
index 67f15955df..ea7d88be06 100644
--- a/cpukit/score/include/rtems/score/schedulersmpimpl.h
+++ b/cpukit/score/include/rtems/score/schedulersmpimpl.h
@@ -1022,12 +1022,7 @@ static inline Thread_Control *_Scheduler_SMP_Unblock(
_Assert( node_state == SCHEDULER_SMP_NODE_READY );
_Assert( node->sticky_level > 0 );
_Assert( node->idle == NULL );
-
- if ( node->accepts_help == thread ) {
- needs_help = thread;
- } else {
- needs_help = NULL;
- }
+ needs_help = thread;
}
} else {
needs_help = NULL;