[PATCH 02/19] posix: Delete POSIX_Message_queue_Control::named

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Apr 29 09:13:02 UTC 2016


Delete unused POSIX_Message_queue_Control::named.
---
 cpukit/posix/include/rtems/posix/mqueue.h | 1 -
 cpukit/posix/src/mqueueopen.c             | 1 -
 2 files changed, 2 deletions(-)

diff --git a/cpukit/posix/include/rtems/posix/mqueue.h b/cpukit/posix/include/rtems/posix/mqueue.h
index a2e8fd9..df9daff 100644
--- a/cpukit/posix/include/rtems/posix/mqueue.h
+++ b/cpukit/posix/include/rtems/posix/mqueue.h
@@ -55,7 +55,6 @@ extern "C" {
 typedef struct {
    Objects_Control             Object;
    CORE_message_queue_Control  Message_queue;
-   bool                        named;
    bool                        linked;
    uint32_t                    open_count;
    struct sigevent             notification;
diff --git a/cpukit/posix/src/mqueueopen.c b/cpukit/posix/src/mqueueopen.c
index 9ec81c8..973c9b8 100644
--- a/cpukit/posix/src/mqueueopen.c
+++ b/cpukit/posix/src/mqueueopen.c
@@ -96,7 +96,6 @@ static int _POSIX_Message_queue_Create_support(
     rtems_set_errno_and_return_minus_one( ENOMEM );
   }
 
-  the_mq->named = true;
   the_mq->open_count = 1;
   the_mq->linked = true;
 
-- 
1.8.4.5




More information about the devel mailing list