[Bug 210099] Remove redundant MPASS which always evaluates to true.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jun 7 12:50:10 UTC 2016


            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 at FreeBSD.org
          Reporter: bltsrc at 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.

More information about the freebsd-bugs mailing list