1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Fix that pesky panic when the rtc module is unloaded.

PR:	ports/57465
This commit is contained in:
Mike Silbersack 2004-01-23 09:07:51 +00:00
parent 7f02366a0e
commit fdd8b072a2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=98870

View File

@ -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;
}