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/msgmp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cpukit/rtems/src/msgmp.c') diff --git a/cpukit/rtems/src/msgmp.c b/cpukit/rtems/src/msgmp.c index ae7c9802e2..9847cbd569 100644 --- a/cpukit/rtems/src/msgmp.c +++ b/cpukit/rtems/src/msgmp.c @@ -397,8 +397,9 @@ static void _Message_queue_MP_Process_packet ( the_thread = _Thread_MP_Find_proxy( the_packet->proxy_id ); - if (! _Thread_Is_null( the_thread ) ) - _Thread_queue_Extract( the_thread ); + if ( the_thread != NULL ) { + _Thread_queue_Extract( the_thread ); + } _MPCI_Return_packet( the_packet_prefix ); break; -- cgit v1.2.3