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/rtems/src/taskconstruct.c | |
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/rtems/src/taskconstruct.c')
-rw-r--r-- | cpukit/rtems/src/taskconstruct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/rtems/src/taskconstruct.c b/cpukit/rtems/src/taskconstruct.c index 9b1fdec3ae..84e59552c6 100644 --- a/cpukit/rtems/src/taskconstruct.c +++ b/cpukit/rtems/src/taskconstruct.c @@ -180,7 +180,7 @@ rtems_status_code _RTEMS_tasks_Create( if ( is_global ) { the_global_object = _Objects_MP_Allocate_global_object(); - if ( _Objects_MP_Is_null_global_object( the_global_object ) ) { + if ( the_global_object == NULL ) { _RTEMS_tasks_Free( the_thread ); _Objects_Allocator_unlock(); return RTEMS_TOO_MANY; |