Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jul 2010 10:57:55 +0000 (UTC)
From:      Jaakko Heinonen <jh@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r209844 - head/sys/kern
Message-ID:  <201007091057.o69AvtK5013419@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007091057.o69AvtK5013419>