[Bug 207859] usr/src/sys/dev/bhnd/bhndb/bhndb.c:1061: pointless test ?
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Mar 9 19:45:21 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207859
Bug ID: 207859
Summary: usr/src/sys/dev/bhnd/bhndb/bhndb.c:1061: pointless
test ?
Product: Base System
Version: 11.0-CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: freebsd-bugs at FreeBSD.org
Reporter: dcb314 at hotmail.com
usr/src/sys/dev/bhnd/bhndb/bhndb.c:1061] ->
[usr/src/sys/dev/bhnd/bhndb/bhndb.c:1061]: (style) Same expression on both
sides of '||'.
Source code is
if (start > end || end < start || count > ((end - start) + 1))
return (NULL);
Suggest remove pointless test.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list