Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2014 07:45:47 +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-9@freebsd.org
Subject:   svn commit: r266430 - stable/9/sys/kern
Message-ID:  <201405190745.s4J7jlTE016508@svn.freebsd.org>

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



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