summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old/spinlock.c
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/spinlock.c
parent48f4134968efb0bc31dad98e4f1bb4656eb1d817 (diff)
remove duplicated/unused ASSERT code
Diffstat (limited to 'libpthread/linuxthreads.old/spinlock.c')
-rw-r--r--libpthread/linuxthreads.old/spinlock.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libpthread/linuxthreads.old/spinlock.c b/libpthread/linuxthreads.old/spinlock.c
index e00bc3156..f5999e4d2 100644
--- a/libpthread/linuxthreads.old/spinlock.c
+++ b/libpthread/linuxthreads.old/spinlock.c
@@ -620,8 +620,6 @@ void __pthread_alt_unlock(struct _pthread_fastlock *lock)
if (maxprio == INT_MIN)
continue;
- ASSERT (p_max_prio != (struct wait_node *) 1);
-
/* Now we want to to remove the max priority thread's wait node from
the list. Before we can do this, we must atomically try to change the
node's abandon state from zero to nonzero. If we succeed, that means we