summaryrefslogtreecommitdiffstats
path: root/emulators/rtc/files
diff options
context:
space:
mode:
authorsilby <silby@FreeBSD.org>2004-01-23 09:07:51 +0000
committersilby <silby@FreeBSD.org>2004-01-23 09:07:51 +0000
commit359727e052b0f9a8f0881eed8bbfe0540c180bf1 (patch)
treef3e4a6876c2793e5dc48ba084bb01eb2668f325a /emulators/rtc/files
parentde9b375fb3ddf1cc9c0fd088fe94140ec0a8ab3f (diff)
downloadFreeBSD-ports-359727e052b0f9a8f0881eed8bbfe0540c180bf1.zip
FreeBSD-ports-359727e052b0f9a8f0881eed8bbfe0540c180bf1.tar.gz
Fix that pesky panic when the rtc module is unloaded.
PR: ports/57465
Diffstat (limited to 'emulators/rtc/files')
-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 6b604ef..166fd4c 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;
}
OpenPOWER on IntegriCloud