summaryrefslogtreecommitdiff
path: root/emulators/rtc
diff options
context:
space:
mode:
authorMike Silbersack <silby@FreeBSD.org>2004-01-23 09:07:51 +0000
committerMike Silbersack <silby@FreeBSD.org>2004-01-23 09:07:51 +0000
commitfdd8b072a2319c5ec9ddb73706bf93c91dfe2024 (patch)
tree78a96db5199c42a84af91159767ac0e32b0393bb /emulators/rtc
parent- Take maintainership (diff)
Fix that pesky panic when the rtc module is unloaded.
PR: ports/57465
Diffstat (limited to 'emulators/rtc')
-rw-r--r--emulators/rtc/files/rtc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/emulators/rtc/files/rtc.c b/emulators/rtc/files/rtc.c
index 6b604ef6f337..166fd4cb8294 100644
--- a/emulators/rtc/files/rtc.c
+++ b/emulators/rtc/files/rtc.c
@@ -168,7 +168,6 @@ rtc_detach(struct rtc_softc *sc)
if (sc->var.flags.opened) {
return EBUSY;
}
- destroy_dev(sc->dev);
FREE(sc, M_DEVBUF);
return error;
}