svn commit: r266430 - stable/9/sys/kern

Don Lewis truckman at FreeBSD.org
Mon May 19 07:45:47 UTC 2014


Author: truckman
Date: Mon May 19 07:45:46 2014
New Revision: 266430
URL: http://svnweb.freebsd.org/changeset/base/266430

Log:
  Nuke a couple of unnecessary assigments.  Nothing uses the values of rstart
  and rend after this point.

Modified:
  stable/9/sys/kern/subr_rman.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/kern/subr_rman.c
==============================================================================
--- stable/9/sys/kern/subr_rman.c	Mon May 19 05:05:03 2014	(r266429)
+++ stable/9/sys/kern/subr_rman.c	Mon May 19 07:45:46 2014	(r266430)
@@ -602,8 +602,6 @@ rman_reserve_resource_bound(struct rman 
 			break;
 		if ((s->r_flags & flags) != flags)
 			continue;
-		rstart = ulmax(s->r_start, start);
-		rend = ulmin(s->r_end, ulmax(start + count - 1, end));
 		if (s->r_start >= start && s->r_end <= end
 		    && (s->r_end - s->r_start + 1) == count &&
 		    (s->r_start & amask) == 0 &&


More information about the svn-src-all mailing list