summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/ratemondelete.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/rtems/src/ratemondelete.c')
-rw-r--r--cpukit/rtems/src/ratemondelete.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/cpukit/rtems/src/ratemondelete.c b/cpukit/rtems/src/ratemondelete.c
index ee0b23682f..971ad8ef3d 100644
--- a/cpukit/rtems/src/ratemondelete.c
+++ b/cpukit/rtems/src/ratemondelete.c
@@ -35,11 +35,7 @@ rtems_status_code rtems_rate_monotonic_delete(
switch ( location ) {
case OBJECTS_LOCAL:
- _Scheduler_Release_job(
- _Scheduler_Get( the_period->owner ),
- the_period->owner,
- 0
- );
+ _Scheduler_Release_job( the_period->owner, 0 );
_Objects_Close( &_Rate_monotonic_Information, &the_period->Object );
(void) _Watchdog_Remove( &the_period->Timer );
the_period->state = RATE_MONOTONIC_INACTIVE;