[rtems commit] score: Fix format

Sebastian Huber sebh at rtems.org
Wed Jul 5 06:11:01 UTC 2017


Module:    rtems
Branch:    master
Commit:    fab446f03fcd0acb24b34ba906580217771db186
Changeset: http://git.rtems.org/rtems/commit/?id=fab446f03fcd0acb24b34ba906580217771db186

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Jul  5 08:10:11 2017 +0200

score: Fix format

---

 cpukit/score/src/scheduleredfsmp.c | 21 +++++++--------------
 1 file changed, 7 insertions(+), 14 deletions(-)

diff --git a/cpukit/score/src/scheduleredfsmp.c b/cpukit/score/src/scheduleredfsmp.c
index 270f9a4..644bf2f 100644
--- a/cpukit/score/src/scheduleredfsmp.c
+++ b/cpukit/score/src/scheduleredfsmp.c
@@ -115,8 +115,7 @@ static void _Scheduler_EDF_SMP_Do_update(
 
 static bool _Scheduler_EDF_SMP_Has_ready( Scheduler_Context *context )
 {
-  Scheduler_EDF_SMP_Context *self =
-    _Scheduler_EDF_SMP_Get_self( context );
+  Scheduler_EDF_SMP_Context *self = _Scheduler_EDF_SMP_Get_self( context );
 
   return !_RBTree_Is_empty( &self->Ready );
 }
@@ -126,8 +125,7 @@ static Scheduler_Node *_Scheduler_EDF_SMP_Get_highest_ready(
   Scheduler_Node    *node
 )
 {
-  Scheduler_EDF_SMP_Context *self =
-    _Scheduler_EDF_SMP_Get_self( context );
+  Scheduler_EDF_SMP_Context *self = _Scheduler_EDF_SMP_Get_self( context );
   Scheduler_Node *first = (Scheduler_Node *) _RBTree_Minimum( &self->Ready );
 
   (void) node;
@@ -142,8 +140,7 @@ static void _Scheduler_EDF_SMP_Move_from_scheduled_to_ready(
   Scheduler_Node    *scheduled_to_ready
 )
 {
-  Scheduler_EDF_SMP_Context *self =
-    _Scheduler_EDF_SMP_Get_self( context );
+  Scheduler_EDF_SMP_Context *self = _Scheduler_EDF_SMP_Get_self( context );
   Scheduler_EDF_SMP_Node *node =
     _Scheduler_EDF_SMP_Node_downcast( scheduled_to_ready );
 
@@ -162,8 +159,7 @@ static void _Scheduler_EDF_SMP_Move_from_ready_to_scheduled(
   Scheduler_Node    *ready_to_scheduled
 )
 {
-  Scheduler_EDF_SMP_Context *self =
-    _Scheduler_EDF_SMP_Get_self( context );
+  Scheduler_EDF_SMP_Context *self = _Scheduler_EDF_SMP_Get_self( context );
   Scheduler_EDF_SMP_Node *node =
     _Scheduler_EDF_SMP_Node_downcast( ready_to_scheduled );
 
@@ -181,8 +177,7 @@ static void _Scheduler_EDF_SMP_Insert_ready_lifo(
   Scheduler_Node    *node_to_insert
 )
 {
-  Scheduler_EDF_SMP_Context *self =
-    _Scheduler_EDF_SMP_Get_self( context );
+  Scheduler_EDF_SMP_Context *self = _Scheduler_EDF_SMP_Get_self( context );
   Scheduler_EDF_SMP_Node *node =
     _Scheduler_EDF_SMP_Node_downcast( node_to_insert );
 
@@ -200,8 +195,7 @@ static void _Scheduler_EDF_SMP_Insert_ready_fifo(
   Scheduler_Node    *node_to_insert
 )
 {
-  Scheduler_EDF_SMP_Context *self =
-    _Scheduler_EDF_SMP_Get_self( context );
+  Scheduler_EDF_SMP_Context *self = _Scheduler_EDF_SMP_Get_self( context );
   Scheduler_EDF_SMP_Node *node =
     _Scheduler_EDF_SMP_Node_downcast( node_to_insert );
 
@@ -219,8 +213,7 @@ static void _Scheduler_EDF_SMP_Extract_from_ready(
   Scheduler_Node    *node_to_extract
 )
 {
-  Scheduler_EDF_SMP_Context *self =
-    _Scheduler_EDF_SMP_Get_self( context );
+  Scheduler_EDF_SMP_Context *self = _Scheduler_EDF_SMP_Get_self( context );
   Scheduler_EDF_SMP_Node *node =
     _Scheduler_EDF_SMP_Node_downcast( node_to_extract );
 




More information about the vc mailing list