summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_kue.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2006-03-07 04:41:20 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2006-03-07 04:41:20 +0000
commit646fd3c198ade370763bc5a93c664e73f886d3f6 (patch)
treedfcf6d578c29921bf7a3f0e50516215ab2933a88 /sys/dev/usb/if_kue.c
parent2f9f7fbe903e23889880550667bdb3290bfe525e (diff)
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.c15
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);