svn commit: r265923 - head/sys/kern
Don Lewis
truckman at FreeBSD.org
Mon May 12 17:56:53 UTC 2014
Author: truckman
Date: Mon May 12 17:56:52 2014
New Revision: 265923
URL: http://svnweb.freebsd.org/changeset/base/265923
Log:
Nuke a couple of unnecessary assigments. Nothing uses the values of rstart
and rend after this point.
MFC after: 1 week
Modified:
head/sys/kern/subr_rman.c
Modified: head/sys/kern/subr_rman.c
==============================================================================
--- head/sys/kern/subr_rman.c Mon May 12 17:55:24 2014 (r265922)
+++ head/sys/kern/subr_rman.c Mon May 12 17:56:52 2014 (r265923)
@@ -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-head
mailing list