From fdd8b072a2319c5ec9ddb73706bf93c91dfe2024 Mon Sep 17 00:00:00 2001 From: Mike Silbersack Date: Fri, 23 Jan 2004 09:07:51 +0000 Subject: Fix that pesky panic when the rtc module is unloaded. PR: ports/57465 --- emulators/rtc/files/rtc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'emulators/rtc') 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; } -- cgit v1.2.3