svn commit: r209844 - head/sys/kern
Jaakko Heinonen
jh at FreeBSD.org
Fri Jul 9 10:57:57 UTC 2010
Author: jh
Date: Fri Jul 9 10:57:55 2010
New Revision: 209844
URL: http://svn.freebsd.org/changeset/base/209844
Log:
Remove redundant high >= 0.
Reported by: rstone
Modified:
head/sys/kern/subr_unit.c
Modified: head/sys/kern/subr_unit.c
==============================================================================
--- head/sys/kern/subr_unit.c Fri Jul 9 08:48:51 2010 (r209843)
+++ head/sys/kern/subr_unit.c Fri Jul 9 10:57:55 2010 (r209844)
@@ -326,7 +326,7 @@ new_unrhdr(int low, int high, struct mtx
{
struct unrhdr *uh;
- KASSERT(low >= 0 && high >= 0 && low <= high,
+ KASSERT(low >= 0 && low <= high,
("UNR: use error: new_unrhdr(%d, %d)", low, high));
uh = Malloc(sizeof *uh);
if (mutex != NULL)
More information about the svn-src-head
mailing list