Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2014 04:53:43 +0000 (UTC)
From:      Don Lewis <truckman@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r266427 - stable/10/sys/kern
Message-ID:  <201405190453.s4J4rhxr007578@svn.freebsd.org>

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



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