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/partmp.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/partmp.c')
-rw-r--r-- | cpukit/rtems/src/partmp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpukit/rtems/src/partmp.c b/cpukit/rtems/src/partmp.c index ac2b48aba4..99af7adf71 100644 --- a/cpukit/rtems/src/partmp.c +++ b/cpukit/rtems/src/partmp.c @@ -242,8 +242,9 @@ static void _Partition_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; |