diff options
author | 2006-03-07 04:41:19 +0000 | |
---|---|---|
committer | 2006-03-07 04:41:19 +0000 | |
commit | ab0892d7153faf40f28ad1f814b7380f1d5e4896 (patch) | |
tree | 7195b4b39af51d6393b233a4211c0b84b8d4ae5a /sys/dev/usb/if_kue.c | |
parent | fix usage(); (diff) | |
download | wireguard-openbsd-ab0892d7153faf40f28ad1f814b7380f1d5e4896.tar.xz wireguard-openbsd-ab0892d7153faf40f28ad1f814b7380f1d5e4896.zip |
Remove last NRND NetBSDisms from tree.
ok deraadt@ brad@
Diffstat (limited to 'sys/dev/usb/if_kue.c')
-rw-r--r-- | sys/dev/usb/if_kue.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/sys/dev/usb/if_kue.c b/sys/dev/usb/if_kue.c index 21fdf08367d..0893de73250 100644 --- a/sys/dev/usb/if_kue.c +++ b/sys/dev/usb/if_kue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_kue.c,v 1.39 2006/01/29 03:22:52 brad Exp $ */ +/* $OpenBSD: if_kue.c,v 1.40 2006/03/07 04:41:19 krw Exp $ */ /* $NetBSD: if_kue.c,v 1.50 2002/07/16 22:00:31 augustss Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -89,10 +89,6 @@ #include <sys/device.h> #include <sys/proc.h> -#if NRND > 0 -#include <sys/rnd.h> -#endif - #include <net/if.h> #if defined(__NetBSD__) #include <net/if_arp.h> @@ -523,10 +519,6 @@ kue_attachhook(void *xsc) /* Attach the interface. */ if_attach(ifp); Ether_ifattach(ifp, sc->kue_desc.kue_macaddr); -#if NRND > 0 - rnd_attach_source(&sc->rnd_source, USBDEVNAME(sc->kue_dev), - RND_TYPE_NET, 0); -#endif sc->kue_attached = 1; splx(s); @@ -595,11 +587,6 @@ USB_DETACH(kue) if (ifp->if_flags & IFF_RUNNING) kue_stop(sc); -#if defined(__NetBSD__) -#if NRND > 0 - rnd_detach_source(&sc->rnd_source); -#endif -#endif /* __NetBSD__ */ ether_ifdetach(ifp); if_detach(ifp); |