summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_kue.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2005-06-08 17:03:04 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2005-06-08 17:03:04 +0000
commit450458da5c54b346d37bd11af2c123619d1b5251 (patch)
tree982a4b774f0670ece704a67504425c6287f8c1ce /sys/dev/usb/if_kue.c
parent7a5793168be0f07f61e9204f04930140c0697c78 (diff)
remove netns crud.
some drivers actually had hooks for SIOCSIFADDR, most just useless includes "looks good" deraadt miod brad
Diffstat (limited to 'sys/dev/usb/if_kue.c')
-rw-r--r--sys/dev/usb/if_kue.c22
1 files changed, 1 insertions, 21 deletions
diff --git a/sys/dev/usb/if_kue.c b/sys/dev/usb/if_kue.c
index e10cf056e39..c43cdc1c533 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.35 2005/01/15 03:53:36 jsg Exp $ */
+/* $OpenBSD: if_kue.c,v 1.36 2005/06/08 17:03:02 henning Exp $ */
/* $NetBSD: if_kue.c,v 1.50 2002/07/16 22:00:31 augustss Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -121,11 +121,6 @@
#endif
#endif /* defined (__OpenBSD__) */
-#ifdef NS
-#include <netns/ns.h>
-#include <netns/ns_if.h>
-#endif
-
#include <dev/usb/usb.h>
#include <dev/usb/usbdi.h>
#include <dev/usb/usbdi_util.h>
@@ -1125,21 +1120,6 @@ kue_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
#endif
break;
#endif /* INET */
-#ifdef NS
- case AF_NS:
- {
- struct ns_addr *ina = &IA_SNS(ifa)->sns_addr;
-
- if (ns_nullhost(*ina))
- ina->x_host = *(union ns_host *)
- LLADDR(ifp->if_sadl);
- else
- memcpy(LLADDR(ifp->if_sadl),
- ina->x_host.c_host,
- ifp->if_addrlen);
- break;
- }
-#endif /* NS */
}
break;