summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/inline/rtems
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1995-08-22 14:52:08 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1995-08-22 14:52:08 +0000
commitb2c491a08028b7bababe1fe2c09d1f0ac75bdb4f (patch)
tree6cc28038ecc96df113f3bb25ed2fe734da24458c /cpukit/rtems/inline/rtems
parentModified object name to id translation loop to make it easier to (diff)
downloadrtems-b2c491a08028b7bababe1fe2c09d1f0ac75bdb4f.tar.bz2
make inline and macro implementations match
Diffstat (limited to 'cpukit/rtems/inline/rtems')
-rw-r--r--cpukit/rtems/inline/rtems/rtems/message.inl7
1 files changed, 3 insertions, 4 deletions
diff --git a/cpukit/rtems/inline/rtems/rtems/message.inl b/cpukit/rtems/inline/rtems/rtems/message.inl
index 18d793d2fe..8837159580 100644
--- a/cpukit/rtems/inline/rtems/rtems/message.inl
+++ b/cpukit/rtems/inline/rtems/rtems/message.inl
@@ -133,10 +133,9 @@ STATIC INLINE void _Message_queue_Free (
Message_queue_Control *the_message_queue
)
{
- if (the_message_queue->message_buffers)
- {
- _Workspace_Free((void *) the_message_queue->message_buffers);
- the_message_queue->message_buffers = 0;
+ if (the_message_queue->message_buffers) {
+ _Workspace_Free((void *) the_message_queue->message_buffers);
+ the_message_queue->message_buffers = 0;
}
_Objects_Free( &_Message_queue_Information, &the_message_queue->Object );