From 3972085dbab9b05e839b2612abf625c6097a180b Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 13 Oct 2020 13:47:06 +0200 Subject: Remove *_Is_null() inline functions Simply compare the values against NULL. --- cpukit/rtems/src/taskconstruct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/rtems/src/taskconstruct.c') 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; -- cgit v1.2.3