Skip to content

Commit 7903c84

Browse files
youvedeep-singhAnas Nashif
authored andcommitted
kernel: POSIX: removing unused elements from POSIX object attribute.
This patch removes unused member element from POSIX object attributes (mutex, condition variable and barrier). Signed-off-by: Youvedeep Singh <[email protected]>
1 parent d50b1fe commit 7903c84

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

include/posix/sys/types.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ typedef struct pthread_mutex {
3636
} pthread_mutex_t;
3737

3838
typedef struct pthread_mutexattr {
39-
int unused;
4039
} pthread_mutexattr_t;
4140

4241
/* Condition variables */
@@ -45,7 +44,6 @@ typedef struct pthread_cond {
4544
} pthread_cond_t;
4645

4746
typedef struct pthread_condattr {
48-
int unused;
4947
} pthread_condattr_t;
5048

5149
/* Barrier */
@@ -56,7 +54,6 @@ typedef struct pthread_barrier {
5654
} pthread_barrier_t;
5755

5856
typedef struct pthread_barrierattr {
59-
int unused;
6057
} pthread_barrierattr_t;
6158

6259
/* time related attributes */

0 commit comments

Comments
 (0)