summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortruckman <truckman@FreeBSD.org>2014-05-19 04:53:43 +0000
committertruckman <truckman@FreeBSD.org>2014-05-19 04:53:43 +0000
commit0d5a1c60ff59bc95a33849421627fd2d41e814c1 (patch)
tree3c97fdf75e4131d4eb4b6b94023f5522a3b33e01
parent1202107523a1227e0e004f77e788e6f1d2020035 (diff)
downloadFreeBSD-src-0d5a1c60ff59bc95a33849421627fd2d41e814c1.zip
FreeBSD-src-0d5a1c60ff59bc95a33849421627fd2d41e814c1.tar.gz
Nuke a couple of unnecessary assigments. Nothing uses the values of rstart
and rend after this point.
-rw-r--r--sys/kern/subr_rman.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/subr_rman.c b/sys/kern/subr_rman.c
index 30e97c3..b53030a 100644
--- a/sys/kern/subr_rman.c
+++ b/sys/kern/subr_rman.c
@@ -607,8 +607,6 @@ rman_reserve_resource_bound(struct rman *rm, u_long start, u_long end,
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 &&
OpenPOWER on IntegriCloud