Remove a conditional that is always true.

MFC after:	2 weeks
This commit is contained in:
John Baldwin 2008-01-17 20:15:15 +00:00
parent 9a57f6280c
commit cff3c4fdc5

View File

@ -806,7 +806,7 @@ _rw_downgrade(struct rwlock *rw, const char *file, int line)
(v & RW_LOCK_WRITE_WAITERS));
if (v & RW_LOCK_READ_WAITERS)
turnstile_unpend(ts, TS_EXCLUSIVE_LOCK);
else if (ts)
else
turnstile_disown(ts);
turnstile_chain_unlock(&rw->lock_object);
out: