diff options
| author | Archie Cobbs <archie@FreeBSD.org> | 2000-06-30 16:38:24 +0000 |
|---|---|---|
| committer | Archie Cobbs <archie@FreeBSD.org> | 2000-06-30 16:38:24 +0000 |
| commit | c38d75f43d689c02a111168d2fc703a235cb404e (patch) | |
| tree | 5580b8641ff09265afc4dd3603b7a2d912ed17b8 | |
| parent | 9ec4c09af114d08c093e5eeb6eacf7bb55cc806a (diff) | |
Notes
| -rw-r--r-- | sys/net/if.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/net/if.c b/sys/net/if.c index ba316a996ba3..2dce111ec22c 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -51,11 +51,9 @@ #include <sys/syslog.h> #include <sys/sysctl.h> -#include <net/ethernet.h> #include <net/if.h> #include <net/if_arp.h> #include <net/if_dl.h> -#include <net/if_types.h> #include <net/radix.h> #include <net/route.h> @@ -238,18 +236,6 @@ if_detach(ifp) if_down(ifp); /* - * Do any type-specific detach operation - */ - switch (ifp->if_type) { - case IFT_ETHER: - if (ng_ether_detach_p != NULL) - (*ng_ether_detach_p)(ifp); - break; - default: - break; - } - - /* * Remove address from ifnet_addrs[] and maybe decrement if_index. * Clean up all addresses. */ |
