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=3D210099 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=3D171141&action= =3Dedit Remove line of redundant always-true MPASS check. Remove MPASS(wchan =3D=3D sq->sq_wchan) as there is invariant that return v= alue(sq) returned from sleepq_lookup, if not null, has sq->wchan =3D wchan where wch= an is the parameter passed to sleepq_lookup. --=20 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>