[rtems commit] score: _CORE_message_queue_Seize()

Sebastian Huber sebh at rtems.org
Tue May 24 12:06:34 UTC 2016


Module:    rtems
Branch:    master
Commit:    16dbcdcd7cf038a1cdeb887821604feafc9fa02f
Changeset: http://git.rtems.org/rtems/commit/?id=16dbcdcd7cf038a1cdeb887821604feafc9fa02f

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon May 23 11:42:41 2016 +0200

score: _CORE_message_queue_Seize()

Delete unused parameter.

---

 cpukit/posix/src/mqueuerecvsupp.c              | 1 -
 cpukit/rtems/src/msgqreceive.c                 | 1 -
 cpukit/score/include/rtems/score/coremsgimpl.h | 3 ---
 cpukit/score/src/coremsgseize.c                | 1 -
 4 files changed, 6 deletions(-)

diff --git a/cpukit/posix/src/mqueuerecvsupp.c b/cpukit/posix/src/mqueuerecvsupp.c
index b1d830e..1d7d527 100644
--- a/cpukit/posix/src/mqueuerecvsupp.c
+++ b/cpukit/posix/src/mqueuerecvsupp.c
@@ -99,7 +99,6 @@ ssize_t _POSIX_Message_queue_Receive_support(
   _CORE_message_queue_Seize(
     &the_mq->Message_queue,
     executing,
-    mqdes,
     msg_ptr,
     &length_out,
     do_wait,
diff --git a/cpukit/rtems/src/msgqreceive.c b/cpukit/rtems/src/msgqreceive.c
index 75ef0d2..578b280 100644
--- a/cpukit/rtems/src/msgqreceive.c
+++ b/cpukit/rtems/src/msgqreceive.c
@@ -66,7 +66,6 @@ rtems_status_code rtems_message_queue_receive(
   _CORE_message_queue_Seize(
     &the_message_queue->message_queue,
     executing,
-    the_message_queue->Object.id,
     buffer,
     size,
     !_Options_Is_no_wait( option_set ),
diff --git a/cpukit/score/include/rtems/score/coremsgimpl.h b/cpukit/score/include/rtems/score/coremsgimpl.h
index e3f0153..34f214d 100644
--- a/cpukit/score/include/rtems/score/coremsgimpl.h
+++ b/cpukit/score/include/rtems/score/coremsgimpl.h
@@ -394,8 +394,6 @@ CORE_message_queue_Status _CORE_message_queue_Do_submit(
  *  otherwise an error will be given to the thread if no messages are available.
  *
  *  @param[in] the_message_queue points to the message queue
- *  @param[in] id is the RTEMS object Id associated with this message queue.
- *         It is used when unblocking a remote thread.
  *  @param[in] buffer is the starting address of the message buffer to
  *         to be filled in with a message
  *  @param[in] size_p is a pointer to the size of the @a buffer and
@@ -419,7 +417,6 @@ CORE_message_queue_Status _CORE_message_queue_Do_submit(
 void _CORE_message_queue_Seize(
   CORE_message_queue_Control      *the_message_queue,
   Thread_Control                  *executing,
-  Objects_Id                       id,
   void                            *buffer,
   size_t                          *size_p,
   bool                             wait,
diff --git a/cpukit/score/src/coremsgseize.c b/cpukit/score/src/coremsgseize.c
index 534dc0b..c9a2473 100644
--- a/cpukit/score/src/coremsgseize.c
+++ b/cpukit/score/src/coremsgseize.c
@@ -29,7 +29,6 @@
 void _CORE_message_queue_Seize(
   CORE_message_queue_Control *the_message_queue,
   Thread_Control             *executing,
-  Objects_Id                  id,
   void                       *buffer,
   size_t                     *size_p,
   bool                        wait,




More information about the vc mailing list