summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/schedulersimplechangepriority.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-10-21 14:33:01 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-11-02 10:05:44 +0100
commit9c238e1bd4bb8d3874bec65757db31d63db20d40 (patch)
treeafe70511271f2408ee487e1c5c6efcd1a51e0a4c /cpukit/score/src/schedulersimplechangepriority.c
parentscore: Delete _Scheduler_Ask_for_help_if_necessary (diff)
downloadrtems-9c238e1bd4bb8d3874bec65757db31d63db20d40.tar.bz2
score: Simplify update priority scheduler op
Remove unused return status.
Diffstat (limited to 'cpukit/score/src/schedulersimplechangepriority.c')
-rw-r--r--cpukit/score/src/schedulersimplechangepriority.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/cpukit/score/src/schedulersimplechangepriority.c b/cpukit/score/src/schedulersimplechangepriority.c
index cad75f8d6e..8253a01421 100644
--- a/cpukit/score/src/schedulersimplechangepriority.c
+++ b/cpukit/score/src/schedulersimplechangepriority.c
@@ -21,7 +21,7 @@
#include <rtems/score/schedulersimpleimpl.h>
-Scheduler_Void_or_thread _Scheduler_simple_Update_priority(
+void _Scheduler_simple_Update_priority(
const Scheduler_Control *scheduler,
Thread_Control *the_thread,
Scheduler_Node *node
@@ -32,7 +32,7 @@ Scheduler_Void_or_thread _Scheduler_simple_Update_priority(
if ( !_Thread_Is_ready( the_thread ) ) {
/* Nothing to do */
- SCHEDULER_RETURN_VOID_OR_NULL;
+ return;
}
context = _Scheduler_simple_Get_context( scheduler );
@@ -47,6 +47,4 @@ Scheduler_Void_or_thread _Scheduler_simple_Update_priority(
}
_Scheduler_simple_Schedule_body( scheduler, the_thread, false );
-
- SCHEDULER_RETURN_VOID_OR_NULL;
}