summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_rman.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-05-31 20:29:34 +0000
committerphk <phk@FreeBSD.org>2003-05-31 20:29:34 +0000
commit2048912526464c943ca01eb049aa45a6f63814b6 (patch)
tree7de2bef7c0ec5ca84ef0ae4ad8013d1bc6735757 /sys/kern/subr_rman.c
parente8c1d97f209fdc1266d67f8f5ec3d76ae575750e (diff)
downloadFreeBSD-src-2048912526464c943ca01eb049aa45a6f63814b6.zip
FreeBSD-src-2048912526464c943ca01eb049aa45a6f63814b6.tar.gz
Remove unused variable(s).
Found by: FlexeLint
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 56c0979..714dd9e 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;
OpenPOWER on IntegriCloud