Date: Tue, 07 Jun 2016 12:50:10 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 210099] Remove redundant MPASS which always evaluates to true. Message-ID: <bug-210099-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210099 Bug ID: 210099 Summary: Remove redundant MPASS which always evaluates to true. Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: bltsrc@mail.ru Created attachment 171141 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=171141&action=edit Remove line of redundant always-true MPASS check. Remove MPASS(wchan == sq->sq_wchan) as there is invariant that return value(sq) returned from sleepq_lookup, if not null, has sq->wchan = wchan where wchan is the parameter passed to sleepq_lookup. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210099-8>
