diff options
author | Don Lewis <truckman@FreeBSD.org> | 2014-05-12 17:56:52 +0000 |
---|---|---|
committer | Don Lewis <truckman@FreeBSD.org> | 2014-05-12 17:56:52 +0000 |
commit | 11ada7013a47365728fa0ce689c7c6af8ec899fe (patch) | |
tree | 9003e4757ce93c8507455d4ee44856b80e451f56 /sys/kern | |
parent | 41bc2b723c18d0c68729700772cd881a240d2d93 (diff) | |
download | src-11ada7013a47365728fa0ce689c7c6af8ec899fe.tar.gz src-11ada7013a47365728fa0ce689c7c6af8ec899fe.zip |
Nuke a couple of unnecessary assigments. Nothing uses the values of rstart
and rend after this point.
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=265923
Diffstat (limited to 'sys/kern')
-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 30e97c349629..b53030a5574b 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 && |