summaryrefslogtreecommitdiffstats
path: root/sys/dev/vinum/vinumconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/vinum/vinumconfig.c')
-rw-r--r--sys/dev/vinum/vinumconfig.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/vinum/vinumconfig.c b/sys/dev/vinum/vinumconfig.c
index d447bb1..fea3c2f 100644
--- a/sys/dev/vinum/vinumconfig.c
+++ b/sys/dev/vinum/vinumconfig.c
@@ -1813,10 +1813,8 @@ remove_plex_entry(int plexno, int force, int recurse)
}
}
log(LOG_INFO, "vinum: removing %s\n", plex->name);
-#ifdef FREEBSD5
if (isstriped(plex))
mtx_destroy(&plex->lockmtx);
-#endif
free_plex(plexno);
vinum_conf.plexes_used--; /* one less plex */
}
OpenPOWER on IntegriCloud