diff options
author | archie <archie@FreeBSD.org> | 2000-06-30 16:38:24 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 2000-06-30 16:38:24 +0000 |
commit | 44cc50998624b8e1c38a63c2f87c5c98b93de53d (patch) | |
tree | a458a30d6fa827fbd84419742d3d1d8f7fea9691 /sys/net | |
parent | 4667587f8c7d9fcb552f3437477a10f79aa28ea8 (diff) | |
download | FreeBSD-src-44cc50998624b8e1c38a63c2f87c5c98b93de53d.zip FreeBSD-src-44cc50998624b8e1c38a63c2f87c5c98b93de53d.tar.gz |
Previous commit didn't work; this time really fix it.
Diffstat (limited to 'sys/net')
-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 ba316a9..2dce111 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. */ |