diff options
Diffstat (limited to 'cpukit/rtems/src/ratemoncancel.c')
-rw-r--r-- | cpukit/rtems/src/ratemoncancel.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cpukit/rtems/src/ratemoncancel.c b/cpukit/rtems/src/ratemoncancel.c index 9f993f2cdf..d4a9102955 100644 --- a/cpukit/rtems/src/ratemoncancel.c +++ b/cpukit/rtems/src/ratemoncancel.c @@ -40,11 +40,7 @@ rtems_status_code rtems_rate_monotonic_cancel( } (void) _Watchdog_Remove( &the_period->Timer ); the_period->state = RATE_MONOTONIC_INACTIVE; - _Scheduler_Release_job( - _Scheduler_Get( the_period->owner ), - the_period->owner, - 0 - ); + _Scheduler_Release_job( the_period->owner, 0 ); _Objects_Put( &the_period->Object ); return RTEMS_SUCCESSFUL; |