summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old/queue.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-11-03 18:55:00 +0000
committerMike Frysinger <vapier@gentoo.org>2006-11-03 18:55:00 +0000
commit36860e64dbe0a6d294ec3b1430e7926ea0ed2fd5 (patch)
treeeb735d028db1812ed6da4a08030327ef89838c9a /libpthread/linuxthreads.old/queue.h
parent48f4134968efb0bc31dad98e4f1bb4656eb1d817 (diff)
remove duplicated/unused ASSERT code
Diffstat (limited to 'libpthread/linuxthreads.old/queue.h')
-rw-r--r--libpthread/linuxthreads.old/queue.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libpthread/linuxthreads.old/queue.h b/libpthread/linuxthreads.old/queue.h
index 28bd75531..c7f8471b9 100644
--- a/libpthread/linuxthreads.old/queue.h
+++ b/libpthread/linuxthreads.old/queue.h
@@ -21,7 +21,6 @@
static inline void enqueue(pthread_descr * q, pthread_descr th)
{
int prio = th->p_priority;
- ASSERT(th->p_nextwaiting == NULL);
for (; *q != NULL; q = &((*q)->p_nextwaiting)) {
if (prio > (*q)->p_priority) {
th->p_nextwaiting = *q;