From 7cfdf3eb07c5823a754ae3966344a4e4b679de14 Mon Sep 17 00:00:00 2001 From: truckman Date: Mon, 19 May 2014 04:53:43 +0000 Subject: [PATCH] Nuke a couple of unnecessary assigments. Nothing uses the values of rstart and rend after this point. git-svn-id: svn://svn.freebsd.org/base/stable/10@266427 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sys/kern/subr_rman.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/kern/subr_rman.c b/sys/kern/subr_rman.c index 30e97c349..b53030a55 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 && -- 2.45.0