summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_udav.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_udav.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_udav.c')
-rw-r--r--sys/dev/usb/if_udav.c21
1 files changed, 1 insertions, 20 deletions
diff --git a/sys/dev/usb/if_udav.c b/sys/dev/usb/if_udav.c
index 4ef3b5654c7..9f89b62f3b5 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.9 2005/01/03 22:45:52 brad Exp $ */
+/* $OpenBSD: if_udav.c,v 1.10 2005/06/08 17:03:02 henning 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 $ */
/*
@@ -79,11 +79,6 @@
#include <netinet/if_ether.h>
#endif
-#ifdef NS
-#include <netns/ns.h>
-#include <netns/ns_if.h>
-#endif
-
#include <dev/mii/mii.h>
#include <dev/mii/miivar.h>
@@ -1236,20 +1231,6 @@ udav_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
arp_ifinit(&sc->sc_ac, ifa);
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;