summaryrefslogtreecommitdiffstats
path: root/cpukit/itron/src/rot_rdq.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/itron/src/rot_rdq.c')
-rw-r--r--cpukit/itron/src/rot_rdq.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/cpukit/itron/src/rot_rdq.c b/cpukit/itron/src/rot_rdq.c
index 6309184b60..80e9e5c95e 100644
--- a/cpukit/itron/src/rot_rdq.c
+++ b/cpukit/itron/src/rot_rdq.c
@@ -32,7 +32,7 @@ ER rot_rdq(
)
{
PRI priority;
-
+
if (( tskpri <= 0 ) || ( tskpri >= 256 ))
return E_PAR;
@@ -47,11 +47,9 @@ ER rot_rdq(
if ( priority == tskpri )
_Thread_Yield_processor();
else {
- _Thread_Rotate_Ready_Queue( _ITRON_Task_Core_to_Priority( tskpri ) );
+ _Thread_Rotate_Ready_Queue( _ITRON_Task_Core_to_Priority( tskpri ) );
}
_Thread_Enable_dispatch();
-
+
return E_OK;
}
-
-