summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/score/threadimpl.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-10-13 13:47:06 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-10-14 18:10:50 +0200
commit3972085dbab9b05e839b2612abf625c6097a180b (patch)
tree6ffb806aab62a1e0bc809bf67de8d39d2776f0d4 /cpukit/include/rtems/score/threadimpl.h
parentrtems: Remove superfluous include (diff)
downloadrtems-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.h15
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.