summaryrefslogtreecommitdiff
path: root/emulators/rtc
diff options
context:
space:
mode:
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;
}