summaryrefslogtreecommitdiff
path: root/libpthread/nptl/pthread_attr_destroy.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/nptl/pthread_attr_destroy.c')
-rw-r--r--libpthread/nptl/pthread_attr_destroy.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libpthread/nptl/pthread_attr_destroy.c b/libpthread/nptl/pthread_attr_destroy.c
index b8d9a20d3..a30df0c45 100644
--- a/libpthread/nptl/pthread_attr_destroy.c
+++ b/libpthread/nptl/pthread_attr_destroy.c
@@ -22,7 +22,6 @@
#include <string.h>
#include <unistd.h>
#include "pthreadP.h"
-#include <shlib-compat.h>
int
__pthread_attr_destroy (attr)
@@ -33,11 +32,6 @@ __pthread_attr_destroy (attr)
assert (sizeof (*attr) >= sizeof (struct pthread_attr));
iattr = (struct pthread_attr *) attr;
-#if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)
- /* In old struct pthread_attr, neither next nor cpuset are
- present. */
- if (__builtin_expect ((iattr->flags & ATTR_FLAG_OLDATTR), 0) == 0)
-#endif
/* The affinity CPU set might be allocated dynamically. */
free (iattr->cpuset);