In re_detach(), remove an extra call to ether_ifdetach().

This fixes a panic that occurs when unloading the kernel module.

MFC after:	3 days
This commit is contained in:
Olivier Houchard 2005-01-02 01:37:21 +00:00
parent 2fa9a15eca
commit 1861b3421b

View File

@ -1284,7 +1284,6 @@ re_detach(dev)
* anymore.
*/
ifp->if_flags &= ~IFF_UP;
ether_ifdetach(ifp);
}
if (sc->rl_miibus)
device_delete_child(dev, sc->rl_miibus);