diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-11-02 06:27:06 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-11-03 11:23:49 +0100 |
commit | 9599b4683d1333dfc83044ffa314455675246ac6 (patch) | |
tree | 0327a3c89192f29bb5dc45505bfe27f3d48152fd | |
parent | score: Conditionally enable thread resource count (diff) | |
download | rtems-9599b4683d1333dfc83044ffa314455675246ac6.tar.bz2 |
score: Delete unused _Scheduler_Is_id_valid()
-rw-r--r-- | cpukit/score/include/rtems/score/schedulerimpl.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/cpukit/score/include/rtems/score/schedulerimpl.h b/cpukit/score/include/rtems/score/schedulerimpl.h index 46952d2756..8ecabf7ab1 100644 --- a/cpukit/score/include/rtems/score/schedulerimpl.h +++ b/cpukit/score/include/rtems/score/schedulerimpl.h @@ -842,16 +842,6 @@ RTEMS_INLINE_ROUTINE bool _Scheduler_Get_by_id( && _Scheduler_Get_processor_count( scheduler ) > 0; } -RTEMS_INLINE_ROUTINE bool _Scheduler_Is_id_valid( Objects_Id id ) -{ - const Scheduler_Control *scheduler; - bool ok = _Scheduler_Get_by_id( id, &scheduler ); - - (void) scheduler; - - return ok; -} - RTEMS_INLINE_ROUTINE uint32_t _Scheduler_Get_index( const Scheduler_Control *scheduler ) |