summaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@gnu.org>2008-08-12 07:10:31 +0000
committerNeal H. Walfield <neal@gnu.org>2008-08-12 07:10:31 +0000
commit0236089d351775cf41a9a951621b7c083488ec20 (patch)
tree7f254a80456e409bcdd5c48b17f0c33fc0cbab53 /sysdeps/generic
parentc5441c2e019718a374461106af2b59809cfbdb0e (diff)
2008-08-12 Neal H. Walfield <neal@gnu.org>
* sysdeps/generic/pt-mutex-unlock.c (__pthread_mutex_unlock): Remove dead code.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/pt-mutex-unlock.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sysdeps/generic/pt-mutex-unlock.c b/sysdeps/generic/pt-mutex-unlock.c
index 4352042..d1ef23a 100644
--- a/sysdeps/generic/pt-mutex-unlock.c
+++ b/sysdeps/generic/pt-mutex-unlock.c
@@ -37,16 +37,7 @@ __pthread_mutex_unlock (pthread_mutex_t *mutex)
if (_pthread_self ())
{
assert (mutex->owner);
-#if 0
- assertx (mutex->owner == _pthread_self (),
- "%p(%x) != %p(%x)",
- mutex->owner,
- ((struct __pthread *) mutex->owner)->threadid,
- _pthread_self (),
- _pthread_self ()->threadid);
-#else
assert (mutex->owner == _pthread_self ());
-#endif
mutex->owner = NULL;
}
#endif