[Bug 210099] Remove redundant MPASS which always evaluates to true in kern/subr_sleepqueue.c

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 22 16:46:12 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210099

John Baldwin <jhb at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jhb at FreeBSD.org
             Status|New                         |Closed
         Resolution|---                         |Works As Intended

--- Comment #2 from John Baldwin <jhb at FreeBSD.org> ---
The purpose of an assertion is to ensure that it the code is doing what is
expected.  In particular in this case the assertion is verifying that
sleepq_lookup() did in fact return a sleepqueue with a matching wait channel.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list