summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/pthread_setschedparam.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/nptl/pthread_setschedparam.c')
-rw-r--r--libpthread/nptl/pthread_setschedparam.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libpthread/nptl/pthread_setschedparam.c b/libpthread/nptl/pthread_setschedparam.c
index a3947ba25..c72116bcb 100644
--- a/libpthread/nptl/pthread_setschedparam.c
+++ b/libpthread/nptl/pthread_setschedparam.c
@@ -46,11 +46,7 @@ __pthread_setschedparam (threadid, policy, param)
lll_lock (pd->lock);
/* Try to set the scheduler information. */
-#ifdef __UCLIBC__
if (__builtin_expect (sched_setscheduler (pd->tid, policy,
-#else
- if (__builtin_expect (__sched_setscheduler (pd->tid, policy,
-#endif
param) == -1, 0))
result = errno;
else