diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-29 10:28:31 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-02 07:46:14 +0200 |
commit | 1b7a6a386327bb7e3dc12a164aa8ee086b93b7f2 (patch) | |
tree | 74a89e58f3ab79416b4c7bb1ee8905fb2f7924d0 /cpukit/score/include/rtems/score/coremsgimpl.h | |
parent | score: _CORE_message_queue_Submit() (diff) | |
download | rtems-1b7a6a386327bb7e3dc12a164aa8ee086b93b7f2.tar.bz2 |
score: _CORE_message_queue_Set_message_priority()
Remove _CORE_message_queue_Set_message_priority() and set the priority
in _CORE_message_queue_Insert_message().
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/include/rtems/score/coremsgimpl.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/cpukit/score/include/rtems/score/coremsgimpl.h b/cpukit/score/include/rtems/score/coremsgimpl.h index b9e4be4669..7edca17306 100644 --- a/cpukit/score/include/rtems/score/coremsgimpl.h +++ b/cpukit/score/include/rtems/score/coremsgimpl.h @@ -580,22 +580,6 @@ RTEMS_INLINE_ROUTINE int _CORE_message_queue_Get_message_priority ( } /** - * This function sets the priority of @a the_message. - * - * @note It encapsulates the optional behavior that message priority is - * disabled if no API requires it. - */ -RTEMS_INLINE_ROUTINE void _CORE_message_queue_Set_message_priority ( - CORE_message_queue_Buffer_control *the_message, - int priority -) -{ - #if defined(RTEMS_SCORE_COREMSG_ENABLE_MESSAGE_PRIORITY) - the_message->priority = priority; - #endif -} - -/** * This function removes the first message from the_message_queue * and returns a pointer to it. */ |