libc/pthread_barrierattr_destory.c: Destroy shouldn't reinitialize the
attributes. Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
parent
98e7776714
commit
9b4e44842e
1 changed files with 0 additions and 4 deletions
|
|
@ -59,10 +59,6 @@ int pthread_barrierattr_destroy(FAR pthread_barrierattr_t *attr)
|
|||
{
|
||||
ret = EINVAL;
|
||||
}
|
||||
else
|
||||
{
|
||||
attr->pshared = PTHREAD_PROCESS_PRIVATE;
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue