summaryrefslogtreecommitdiff
path: root/sys/kern/subr_rman.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2003-05-31 20:29:34 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2003-05-31 20:29:34 +0000
commit670966596b1524a641125bcee083727b4fb75670 (patch)
tree7de2bef7c0ec5ca84ef0ae4ad8013d1bc6735757 /sys/kern/subr_rman.c
parentd1043f6d6abdc047d0420232ad8779b8f55ceb47 (diff)
Notes
Diffstat (limited to 'sys/kern/subr_rman.c')
-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 56c0979b14ba..714dd9eabf73 100644
--- a/sys/kern/subr_rman.c
+++ b/sys/kern/subr_rman.c
@@ -475,9 +475,7 @@ rman_await_resource(struct resource *r, int pri, int timo)
static int
int_rman_deactivate_resource(struct resource *r)
{
- struct rman *rm;
- rm = r->r_rm;
r->r_flags &= ~RF_ACTIVE;
if (r->r_flags & RF_WANTED) {
r->r_flags &= ~RF_WANTED;