diff options
author | silby <silby@FreeBSD.org> | 2004-01-23 17:07:51 +0800 |
---|---|---|
committer | silby <silby@FreeBSD.org> | 2004-01-23 17:07:51 +0800 |
commit | 359727e052b0f9a8f0881eed8bbfe0540c180bf1 (patch) | |
tree | f3e4a6876c2793e5dc48ba084bb01eb2668f325a /emulators | |
parent | de9b375fb3ddf1cc9c0fd088fe94140ec0a8ab3f (diff) | |
download | freebsd-ports-gnome-359727e052b0f9a8f0881eed8bbfe0540c180bf1.tar.gz freebsd-ports-gnome-359727e052b0f9a8f0881eed8bbfe0540c180bf1.tar.zst freebsd-ports-gnome-359727e052b0f9a8f0881eed8bbfe0540c180bf1.zip |
Fix that pesky panic when the rtc module is unloaded.
PR: ports/57465
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/rtc/files/rtc.c | 1 |
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; } |