From 11ada7013a47365728fa0ce689c7c6af8ec899fe Mon Sep 17 00:00:00 2001 From: Don Lewis Date: Mon, 12 May 2014 17:56:52 +0000 Subject: Nuke a couple of unnecessary assigments. Nothing uses the values of rstart and rend after this point. MFC after: 1 week --- sys/kern/subr_rman.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/kern') 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 && -- cgit v1.2.3