diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-10-13 13:47:06 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-10-14 18:10:50 +0200 |
commit | 3972085dbab9b05e839b2612abf625c6097a180b (patch) | |
tree | 6ffb806aab62a1e0bc809bf67de8d39d2776f0d4 /cpukit/include/rtems/score/threadimpl.h | |
parent | rtems: Remove superfluous include (diff) | |
download | rtems-3972085dbab9b05e839b2612abf625c6097a180b.tar.bz2 |
Remove *_Is_null() inline functions
Simply compare the values against NULL.
Diffstat (limited to 'cpukit/include/rtems/score/threadimpl.h')
-rw-r--r-- | cpukit/include/rtems/score/threadimpl.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/cpukit/include/rtems/score/threadimpl.h b/cpukit/include/rtems/score/threadimpl.h index a2e1e1427c..9468d64df0 100644 --- a/cpukit/include/rtems/score/threadimpl.h +++ b/cpukit/include/rtems/score/threadimpl.h @@ -1072,21 +1072,6 @@ RTEMS_INLINE_ROUTINE bool _Thread_Is_context_switch_necessary( void ) } /** - * @brief Checks if the thread is NULL. - * - * @param the_thread The thread for the verification. - * - * @retval true The thread is @c NULL. - * @retval false The thread is not @c NULL. - */ -RTEMS_INLINE_ROUTINE bool _Thread_Is_null ( - const Thread_Control *the_thread -) -{ - return ( the_thread == NULL ); -} - -/** * @brief Gets the maximum number of internal threads. * * @return The maximum number of internal threads. |