summaryrefslogtreecommitdiff
path: root/nptl/pthread_attr_getschedpolicy.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/pthread_attr_getschedpolicy.c')
-rw-r--r--nptl/pthread_attr_getschedpolicy.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/nptl/pthread_attr_getschedpolicy.c b/nptl/pthread_attr_getschedpolicy.c
index 65ed4176c7..f9f69be1f3 100644
--- a/nptl/pthread_attr_getschedpolicy.c
+++ b/nptl/pthread_attr_getschedpolicy.c
@@ -16,7 +16,6 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#include <assert.h>
#include "pthreadP.h"
@@ -25,7 +24,6 @@ __pthread_attr_getschedpolicy (const pthread_attr_t *attr, int *policy)
{
struct pthread_attr *iattr;
- assert (sizeof (*attr) >= sizeof (struct pthread_attr));
iattr = (struct pthread_attr *) attr;
/* Store the current values. */