svn commit: r266427 - stable/10/sys/kern

Don Lewis truckman at FreeBSD.org
Mon May 19 04:53:43 UTC 2014


Author: truckman
Date: Mon May 19 04:53:43 2014
New Revision: 266427
URL: http://svnweb.freebsd.org/changeset/base/266427

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

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

Modified: stable/10/sys/kern/subr_rman.c
==============================================================================
--- stable/10/sys/kern/subr_rman.c	Mon May 19 04:44:27 2014	(r266426)
+++ stable/10/sys/kern/subr_rman.c	Mon May 19 04:53:43 2014	(r266427)
@@ -607,8 +607,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