summaryrefslogtreecommitdiffstats
path: root/sys/net/if_ethersubr.c
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2000-06-29 19:14:28 +0000
committerarchie <archie@FreeBSD.org>2000-06-29 19:14:28 +0000
commitf22c6e6da07f7a579a5cc1736bb33635fc191f16 (patch)
tree7865cce7d89eeb64d97e8b72e5faee23686a316e /sys/net/if_ethersubr.c
parent103df7a64794f4bd05b912bcb3e9e94330cbfd74 (diff)
downloadFreeBSD-src-f22c6e6da07f7a579a5cc1736bb33635fc191f16.zip
FreeBSD-src-f22c6e6da07f7a579a5cc1736bb33635fc191f16.tar.gz
Fix kernel build breakage when 'device ether' was not included.
Diffstat (limited to 'sys/net/if_ethersubr.c')
-rw-r--r--sys/net/if_ethersubr.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c
index 2084aac..74078aa4 100644
--- a/sys/net/if_ethersubr.c
+++ b/sys/net/if_ethersubr.c
@@ -676,17 +676,6 @@ ether_ifattach(ifp)
(*ng_ether_attach_p)(ifp);
}
-/*
- * Perform common duties while detaching an Ethernet interface
- */
-void
-ether_ifdetach(ifp)
- struct ifnet *ifp;
-{
- if (ng_ether_detach_p != NULL)
- (*ng_ether_detach_p)(ifp);
-}
-
SYSCTL_DECL(_net_link);
SYSCTL_NODE(_net_link, IFT_ETHER, ether, CTLFLAG_RW, 0, "Ethernet");
OpenPOWER on IntegriCloud