summaryrefslogtreecommitdiff
path: root/nptl/pthread_setattr_default_np.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/pthread_setattr_default_np.c')
-rw-r--r--nptl/pthread_setattr_default_np.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/nptl/pthread_setattr_default_np.c b/nptl/pthread_setattr_default_np.c
index 457a467df8..c8488d62aa 100644
--- a/nptl/pthread_setattr_default_np.c
+++ b/nptl/pthread_setattr_default_np.c
@@ -1,5 +1,5 @@
/* Set the default attributes to be used by pthread_create in the process.
- Copyright (C) 2013-2015 Free Software Foundation, Inc.
+ Copyright (C) 2013-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,7 +21,6 @@
#include <pthreadP.h>
#include <assert.h>
#include <string.h>
-#include <check-cpuset.h>
int
@@ -48,10 +47,6 @@ pthread_setattr_default_np (const pthread_attr_t *in)
return ret;
}
- ret = check_cpuset_attr (real_in->cpuset, real_in->cpusetsize);
- if (ret)
- return ret;
-
/* stacksize == 0 is fine. It means that we don't change the current
value. */
if (real_in->stacksize != 0)