diff options
author | jhb <jhb@FreeBSD.org> | 2009-05-20 18:29:14 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2009-05-20 18:29:14 +0000 |
commit | 53d01dc702bc1a0172661976537c03207f504426 (patch) | |
tree | 0da75aa2361e198147c87e5b323c97f00c29f527 | |
parent | bc9abffcd5551c3a4797d213bff7b88c21103c7d (diff) | |
download | FreeBSD-src-53d01dc702bc1a0172661976537c03207f504426.zip FreeBSD-src-53d01dc702bc1a0172661976537c03207f504426.tar.gz |
Remove an obsolete assertion. We always wake up all waiters when unlocking
a mutex and never set the lock cookie == MTX_CONTESTED.
-rw-r--r-- | sys/kern/kern_mutex.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/kern_mutex.c b/sys/kern/kern_mutex.c index c56e124..ea85268 100644 --- a/sys/kern/kern_mutex.c +++ b/sys/kern/kern_mutex.c @@ -364,8 +364,6 @@ _mtx_lock_sleep(struct mtx *m, uintptr_t tid, int opts, const char *file, continue; } - MPASS(v != MTX_CONTESTED); - #ifdef ADAPTIVE_MUTEXES /* * If the current owner of the lock is executing on another |