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:
Abdelatif Guettouche 2021-07-28 17:17:08 +02:00 committed by Gustavo Henrique Nihei
parent 98e7776714
commit 9b4e44842e

View File

@ -59,10 +59,6 @@ int pthread_barrierattr_destroy(FAR pthread_barrierattr_t *attr)
{
ret = EINVAL;
}
else
{
attr->pshared = PTHREAD_PROCESS_PRIVATE;
}
return ret;
}