summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_unit.c
diff options
context:
space:
mode:
authorjh <jh@FreeBSD.org>2010-07-09 10:57:55 +0000
committerjh <jh@FreeBSD.org>2010-07-09 10:57:55 +0000
commitd17116191886cf8a6a305752ac3680f4c08a9854 (patch)
treea1e4847de237a27c923bd83a70b12a28a004b8b6 /sys/kern/subr_unit.c
parentef22791b814f311d0e0230b63ad2e994640df9db (diff)
downloadFreeBSD-src-d17116191886cf8a6a305752ac3680f4c08a9854.zip
FreeBSD-src-d17116191886cf8a6a305752ac3680f4c08a9854.tar.gz
Remove redundant high >= 0.
Reported by: rstone
Diffstat (limited to 'sys/kern/subr_unit.c')
-rw-r--r--sys/kern/subr_unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_unit.c b/sys/kern/subr_unit.c
index a66d9e9..3f961a2 100644
--- a/sys/kern/subr_unit.c
+++ b/sys/kern/subr_unit.c
@@ -326,7 +326,7 @@ new_unrhdr(int low, int high, struct mtx *mutex)
{
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)
OpenPOWER on IntegriCloud