diff options
author | truckman <truckman@FreeBSD.org> | 2014-05-19 04:53:43 +0000 |
---|---|---|
committer | truckman <truckman@FreeBSD.org> | 2014-05-19 04:53:43 +0000 |
commit | 0d5a1c60ff59bc95a33849421627fd2d41e814c1 (patch) | |
tree | 3c97fdf75e4131d4eb4b6b94023f5522a3b33e01 | |
parent | 1202107523a1227e0e004f77e788e6f1d2020035 (diff) | |
download | FreeBSD-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.c | 2 |
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 && |