summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/mly/mly.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/mly/mly.c b/sys/dev/mly/mly.c
index 51a8b39..65f1a5d 100644
--- a/sys/dev/mly/mly.c
+++ b/sys/dev/mly/mly.c
@@ -685,6 +685,9 @@ mly_free(struct mly_softc *sc)
debug_called(1);
+ /* Remove the management device */
+ destroy_dev(sc->mly_dev_t);
+
/* detach from CAM */
mly_cam_detach(sc);
OpenPOWER on IntegriCloud