about summary refs log tree commit diff
path: root/nptl/pthread_getattr_default_np.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/pthread_getattr_default_np.c')
-rw-r--r--nptl/pthread_getattr_default_np.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/nptl/pthread_getattr_default_np.c b/nptl/pthread_getattr_default_np.c
index 771c06b386..3357b7319b 100644
--- a/nptl/pthread_getattr_default_np.c
+++ b/nptl/pthread_getattr_default_np.c
@@ -19,14 +19,12 @@
 #include <errno.h>
 #include <stdlib.h>
 #include <pthreadP.h>
-#include <assert.h>
 
 int
 pthread_getattr_default_np (pthread_attr_t *out)
 {
   struct pthread_attr *real_out;
 
-  assert (sizeof (*out) >= sizeof (struct pthread_attr));
   real_out = (struct pthread_attr *) out;
 
   lll_lock (__default_pthread_attr_lock, LLL_PRIVATE);