From 450458da5c54b346d37bd11af2c123619d1b5251 Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Wed, 8 Jun 2005 17:03:04 +0000 Subject: remove netns crud. some drivers actually had hooks for SIOCSIFADDR, most just useless includes "looks good" deraadt miod brad --- sys/dev/usb/if_udav.c | 21 +-------------------- 1 file changed, 1 insertion(+), 20 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 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 #endif -#ifdef NS -#include -#include -#endif - #include #include @@ -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; -- cgit v1.2.3