From 646fd3c198ade370763bc5a93c664e73f886d3f6 Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Tue, 7 Mar 2006 04:41:20 +0000 Subject: Remove last NRND NetBSDisms from tree. ok deraadt@ brad@ --- sys/dev/usb/if_udav.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'sys/dev/usb/if_udav.c') diff --git a/sys/dev/usb/if_udav.c b/sys/dev/usb/if_udav.c index 81e486135b8..0e166f11b30 100644 --- a/sys/dev/usb/if_udav.c +++ b/sys/dev/usb/if_udav.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_udav.c,v 1.15 2006/02/06 17:29:11 jmc Exp $ */ +/* $OpenBSD: if_udav.c,v 1.16 2006/03/07 04:41:19 krw Exp $ */ /* $NetBSD: if_udav.c,v 1.3 2004/04/23 17:25:25 itojun Exp $ */ /* $nabe: if_udav.c,v 1.3 2003/08/21 16:57:19 nabe Exp $ */ /* @@ -57,9 +57,6 @@ #include #include -#if NRND > 0 -#include -#endif #include #include @@ -295,10 +292,6 @@ USB_ATTACH(udav) if_attach(ifp); Ether_ifattach(ifp, eaddr); -#if NRND > 0 - rnd_attach_source(&sc->rnd_source, devname, RND_TYPE_NET, 0); -#endif - usb_callout_init(sc->sc_stat_ch); sc->sc_attached = 1; splx(s); @@ -340,9 +333,6 @@ USB_DETACH(udav) if (ifp->if_flags & IFF_RUNNING) udav_stop(GET_IFP(sc), 1); -#if NRND > 0 - rnd_detach_source(&sc->rnd_source); -#endif mii_detach(&sc->sc_mii, MII_PHY_ANY, MII_OFFSET_ANY); ifmedia_delete_instance(&sc->sc_mii.mii_media, IFM_INST_ANY); ether_ifdetach(ifp); -- cgit v1.2.3