[rtems commit] posix: Delete POSIX_Message_queue_Control::named
Sebastian Huber
sebh at rtems.org
Mon May 2 10:06:31 UTC 2016
Module: rtems
Branch: master
Commit: dd6c28eee090b87f0b9d479f7f4924e1f6ab5b5d
Changeset: http://git.rtems.org/rtems/commit/?id=dd6c28eee090b87f0b9d479f7f4924e1f6ab5b5d
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Apr 25 16:25:04 2016 +0200
posix: Delete POSIX_Message_queue_Control::named
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;
More information about the vc
mailing list