summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormux <mux@FreeBSD.org>2004-05-23 16:11:53 +0000
committermux <mux@FreeBSD.org>2004-05-23 16:11:53 +0000
commit03028ee82d33d4d68d086392d521e0e7542c317a (patch)
tree00728f0e85a4f341e4ca55d0b8472e3ecbfc89ea
parent2ddfdb06c3e63be46dcfe7928f4021c5c99660e8 (diff)
downloadFreeBSD-src-03028ee82d33d4d68d086392d521e0e7542c317a.zip
FreeBSD-src-03028ee82d33d4d68d086392d521e0e7542c317a.tar.gz
We don't need to initialize if_output, ether_ifattach() does it
for us.
-rw-r--r--sys/dev/an/if_an.c1
-rw-r--r--sys/dev/arl/if_arl.c1
-rw-r--r--sys/dev/bfe/if_bfe.c1
-rw-r--r--sys/dev/bge/if_bge.c1
-rw-r--r--sys/dev/cnw/if_cnw.c1
-rw-r--r--sys/dev/cs/if_cs.c1
-rw-r--r--sys/dev/ed/if_ed.c1
-rw-r--r--sys/dev/em/if_em.c1
-rw-r--r--sys/dev/ep/if_ep.c1
-rw-r--r--sys/dev/ex/if_ex.c1
-rw-r--r--sys/dev/fe/if_fe.c1
-rw-r--r--sys/dev/firewire/if_fwe.c1
-rw-r--r--sys/dev/fxp/if_fxp.c1
-rw-r--r--sys/dev/gem/if_gem.c1
-rw-r--r--sys/dev/gx/if_gx.c1
-rw-r--r--sys/dev/hme/if_hme.c1
-rw-r--r--sys/dev/lge/if_lge.c1
-rw-r--r--sys/dev/lnc/if_lnc.c1
-rw-r--r--sys/dev/my/if_my.c1
-rw-r--r--sys/dev/nge/if_nge.c1
-rw-r--r--sys/dev/owi/if_owi.c1
-rw-r--r--sys/dev/ray/if_ray.c1
-rw-r--r--sys/dev/re/if_re.c1
-rw-r--r--sys/dev/sbni/if_sbni.c1
-rw-r--r--sys/dev/sbsh/if_sbsh.c1
-rw-r--r--sys/dev/sn/if_sn.c1
-rw-r--r--sys/dev/snc/dp83932.c1
-rw-r--r--sys/dev/txp/if_txp.c1
-rw-r--r--sys/dev/usb/if_aue.c1
-rw-r--r--sys/dev/usb/if_axe.c1
-rw-r--r--sys/dev/usb/if_cue.c1
-rw-r--r--sys/dev/usb/if_kue.c1
-rw-r--r--sys/dev/usb/if_rue.c1
-rw-r--r--sys/dev/usb/if_udav.c1
-rw-r--r--sys/dev/vx/if_vx.c1
-rw-r--r--sys/dev/wl/if_wl.c1
-rw-r--r--sys/dev/xe/if_xe.c1
37 files changed, 0 insertions, 37 deletions
diff --git a/sys/dev/an/if_an.c b/sys/dev/an/if_an.c
index 87a6d61..e1623ec 100644
--- a/sys/dev/an/if_an.c
+++ b/sys/dev/an/if_an.c
@@ -756,7 +756,6 @@ an_attach(sc, unit, flags)
ifp->if_mtu = ETHERMTU;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
ifp->if_ioctl = an_ioctl;
- ifp->if_output = ether_output;
ifp->if_start = an_start;
ifp->if_watchdog = an_watchdog;
ifp->if_init = an_init;
diff --git a/sys/dev/arl/if_arl.c b/sys/dev/arl/if_arl.c
index 0be53eb..9225e6f 100644
--- a/sys/dev/arl/if_arl.c
+++ b/sys/dev/arl/if_arl.c
@@ -192,7 +192,6 @@ arl_attach(dev)
#endif
ifp->if_mtu = ETHERMTU;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
- ifp->if_output = ether_output;
ifp->if_start = arl_start;
ifp->if_ioctl = arl_ioctl;
ifp->if_watchdog = arl_watchdog;
diff --git a/sys/dev/bfe/if_bfe.c b/sys/dev/bfe/if_bfe.c
index 764480c..8661843 100644
--- a/sys/dev/bfe/if_bfe.c
+++ b/sys/dev/bfe/if_bfe.c
@@ -396,7 +396,6 @@ bfe_attach(device_t dev)
if_initname(ifp, device_get_name(dev), device_get_unit(dev));
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
ifp->if_ioctl = bfe_ioctl;
- ifp->if_output = ether_output;
ifp->if_start = bfe_start;
ifp->if_watchdog = bfe_watchdog;
ifp->if_init = bfe_init;
diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c
index d4ab27c..b12f82b 100644
--- a/sys/dev/bge/if_bge.c
+++ b/sys/dev/bge/if_bge.c
@@ -2358,7 +2358,6 @@ bge_attach(dev)
if_initname(ifp, device_get_name(dev), device_get_unit(dev));
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
ifp->if_ioctl = bge_ioctl;
- ifp->if_output = ether_output;
ifp->if_start = bge_start;
ifp->if_watchdog = bge_watchdog;
ifp->if_init = bge_init;
diff --git a/sys/dev/cnw/if_cnw.c b/sys/dev/cnw/if_cnw.c
index b60cb74..9e2fdd4 100644
--- a/sys/dev/cnw/if_cnw.c
+++ b/sys/dev/cnw/if_cnw.c
@@ -1635,7 +1635,6 @@ static int cnw_pccard_attach(device_t dev)
ifp->if_mtu = ETHERMTU;
ifp->if_flags = (IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST);
ifp->if_ioctl = cnw_ioctl;
- ifp->if_output = ether_output;
ifp->if_start = cnw_start;
/* ifp->if_watchdog = 0; */
ifp->if_watchdog = cnw_watchdog;
diff --git a/sys/dev/cs/if_cs.c b/sys/dev/cs/if_cs.c
index a10d25d..352a8de 100644
--- a/sys/dev/cs/if_cs.c
+++ b/sys/dev/cs/if_cs.c
@@ -600,7 +600,6 @@ cs_attach(device_t dev)
ifp->if_softc=sc;
if_initname(ifp, device_get_name(dev), device_get_unit(dev));
- ifp->if_output=ether_output;
ifp->if_start=cs_start;
ifp->if_ioctl=cs_ioctl;
ifp->if_watchdog=cs_watchdog;
diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c
index a968f32..c3eb45f 100644
--- a/sys/dev/ed/if_ed.c
+++ b/sys/dev/ed/if_ed.c
@@ -1719,7 +1719,6 @@ ed_attach(dev)
*/
ifp->if_softc = sc;
if_initname(ifp, device_get_name(dev), device_get_unit(dev));
- ifp->if_output = ether_output;
ifp->if_start = ed_start;
ifp->if_ioctl = ed_ioctl;
ifp->if_watchdog = ed_watchdog;
diff --git a/sys/dev/em/if_em.c b/sys/dev/em/if_em.c
index 5e508e1..4cd7686 100644
--- a/sys/dev/em/if_em.c
+++ b/sys/dev/em/if_em.c
@@ -1839,7 +1839,6 @@ em_setup_interface(device_t dev, struct adapter * adapter)
ifp = &adapter->interface_data.ac_if;
if_initname(ifp, device_get_name(dev), device_get_unit(dev));
ifp->if_mtu = ETHERMTU;
- ifp->if_output = ether_output;
ifp->if_baudrate = 1000000000;
ifp->if_init = em_init;
ifp->if_softc = adapter;
diff --git a/sys/dev/ep/if_ep.c b/sys/dev/ep/if_ep.c
index 93bf5d5..6019757 100644
--- a/sys/dev/ep/if_ep.c
+++ b/sys/dev/ep/if_ep.c
@@ -290,7 +290,6 @@ ep_attach(struct ep_softc *sc)
if_initname(ifp, device_get_name(sc->dev), device_get_unit(sc->dev));
ifp->if_mtu = ETHERMTU;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
- ifp->if_output = ether_output;
ifp->if_start = epstart;
ifp->if_ioctl = epioctl;
ifp->if_watchdog = epwatchdog;
diff --git a/sys/dev/ex/if_ex.c b/sys/dev/ex/if_ex.c
index c0a64e0..ba65a84 100644
--- a/sys/dev/ex/if_ex.c
+++ b/sys/dev/ex/if_ex.c
@@ -241,7 +241,6 @@ ex_attach(device_t dev)
if_initname(ifp, device_get_name(dev), device_get_unit(dev));
ifp->if_mtu = ETHERMTU;
ifp->if_flags = IFF_SIMPLEX | IFF_BROADCAST | IFF_MULTICAST;
- ifp->if_output = ether_output;
ifp->if_start = ex_start;
ifp->if_ioctl = ex_ioctl;
ifp->if_watchdog = ex_watchdog;
diff --git a/sys/dev/fe/if_fe.c b/sys/dev/fe/if_fe.c
index ed89b52..75b2246 100644
--- a/sys/dev/fe/if_fe.c
+++ b/sys/dev/fe/if_fe.c
@@ -740,7 +740,6 @@ fe_attach (device_t dev)
*/
sc->sc_if.if_softc = sc;
if_initname(&sc->sc_if, device_get_name(dev), device_get_unit(dev));
- sc->sc_if.if_output = ether_output;
sc->sc_if.if_start = fe_start;
sc->sc_if.if_ioctl = fe_ioctl;
sc->sc_if.if_watchdog = fe_watchdog;
diff --git a/sys/dev/firewire/if_fwe.c b/sys/dev/firewire/if_fwe.c
index a0fb83c..a0acec3 100644
--- a/sys/dev/firewire/if_fwe.c
+++ b/sys/dev/firewire/if_fwe.c
@@ -209,7 +209,6 @@ fwe_attach(device_t dev)
ifp->if_name = "fwe";
#endif
ifp->if_init = fwe_init;
- ifp->if_output = ether_output;
ifp->if_start = fwe_start;
ifp->if_ioctl = fwe_ioctl;
ifp->if_mtu = ETHERMTU;
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index b5c7725..8a49329 100644
--- a/sys/dev/fxp/if_fxp.c
+++ b/sys/dev/fxp/if_fxp.c
@@ -788,7 +788,6 @@ fxp_attach(device_t dev)
ifp = &sc->arpcom.ac_if;
if_initname(ifp, device_get_name(dev), device_get_unit(dev));
- ifp->if_output = ether_output;
ifp->if_baudrate = 100000000;
ifp->if_init = fxp_init;
ifp->if_softc = sc;
diff --git a/sys/dev/gem/if_gem.c b/sys/dev/gem/if_gem.c
index bf1372f..bee3453 100644
--- a/sys/dev/gem/if_gem.c
+++ b/sys/dev/gem/if_gem.c
@@ -253,7 +253,6 @@ gem_attach(sc)
ifp->if_ioctl = gem_ioctl;
ifp->if_watchdog = gem_watchdog;
ifp->if_init = gem_init;
- ifp->if_output = ether_output;
ifp->if_snd.ifq_maxlen = GEM_TXQUEUELEN;
/*
* Walk along the list of attached MII devices and
diff --git a/sys/dev/gx/if_gx.c b/sys/dev/gx/if_gx.c
index 9def700..bd7088c 100644
--- a/sys/dev/gx/if_gx.c
+++ b/sys/dev/gx/if_gx.c
@@ -342,7 +342,6 @@ gx_attach(device_t dev)
if_initname(ifp, device_get_name(dev), device_get_unit(dev));
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
ifp->if_ioctl = gx_ioctl;
- ifp->if_output = ether_output;
ifp->if_start = gx_start;
ifp->if_watchdog = gx_watchdog;
ifp->if_init = gx_init;
diff --git a/sys/dev/hme/if_hme.c b/sys/dev/hme/if_hme.c
index 196ad14..46cc6d6 100644
--- a/sys/dev/hme/if_hme.c
+++ b/sys/dev/hme/if_hme.c
@@ -274,7 +274,6 @@ hme_config(struct hme_softc *sc)
ifp->if_start = hme_start;
ifp->if_ioctl = hme_ioctl;
ifp->if_init = hme_init;
- ifp->if_output = ether_output;
ifp->if_watchdog = hme_watchdog;
ifp->if_snd.ifq_maxlen = HME_NTXQ;
diff --git a/sys/dev/lge/if_lge.c b/sys/dev/lge/if_lge.c
index f801d8d..7bd7192 100644
--- a/sys/dev/lge/if_lge.c
+++ b/sys/dev/lge/if_lge.c
@@ -607,7 +607,6 @@ lge_attach(dev)
ifp->if_mtu = ETHERMTU;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
ifp->if_ioctl = lge_ioctl;
- ifp->if_output = ether_output;
ifp->if_start = lge_start;
ifp->if_watchdog = lge_watchdog;
ifp->if_init = lge_init;
diff --git a/sys/dev/lnc/if_lnc.c b/sys/dev/lnc/if_lnc.c
index d3aabba..b977ef5 100644
--- a/sys/dev/lnc/if_lnc.c
+++ b/sys/dev/lnc/if_lnc.c
@@ -877,7 +877,6 @@ lnc_attach_common(device_t dev)
device_get_unit(dev));
sc->arpcom.ac_if.if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
sc->arpcom.ac_if.if_timer = 0;
- sc->arpcom.ac_if.if_output = ether_output;
sc->arpcom.ac_if.if_start = lnc_start;
sc->arpcom.ac_if.if_ioctl = lnc_ioctl;
sc->arpcom.ac_if.if_watchdog = lnc_watchdog;
diff --git a/sys/dev/my/if_my.c b/sys/dev/my/if_my.c
index 6f42a59..d18c137 100644
--- a/sys/dev/my/if_my.c
+++ b/sys/dev/my/if_my.c
@@ -990,7 +990,6 @@ my_attach(device_t dev)
ifp->if_mtu = ETHERMTU;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
ifp->if_ioctl = my_ioctl;
- ifp->if_output = ether_output;
ifp->if_start = my_start;
ifp->if_watchdog = my_watchdog;
ifp->if_init = my_init;
diff --git a/sys/dev/nge/if_nge.c b/sys/dev/nge/if_nge.c
index 01511ce..e8453b3 100644
--- a/sys/dev/nge/if_nge.c
+++ b/sys/dev/nge/if_nge.c
@@ -940,7 +940,6 @@ nge_attach(dev)
ifp->if_mtu = ETHERMTU;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
ifp->if_ioctl = nge_ioctl;
- ifp->if_output = ether_output;
ifp->if_start = nge_start;
ifp->if_watchdog = nge_watchdog;
ifp->if_init = nge_init;
diff --git a/sys/dev/owi/if_owi.c b/sys/dev/owi/if_owi.c
index 6b26cd0..c8a1aa8 100644
--- a/sys/dev/owi/if_owi.c
+++ b/sys/dev/owi/if_owi.c
@@ -233,7 +233,6 @@ owi_generic_attach(device_t dev)
ifp->if_mtu = ETHERMTU;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
ifp->if_ioctl = wi_ioctl;
- ifp->if_output = ether_output;
ifp->if_start = wi_start;
ifp->if_watchdog = wi_watchdog;
ifp->if_init = wi_init;
diff --git a/sys/dev/ray/if_ray.c b/sys/dev/ray/if_ray.c
index c7dd67a..7376f44 100644
--- a/sys/dev/ray/if_ray.c
+++ b/sys/dev/ray/if_ray.c
@@ -509,7 +509,6 @@ ray_attach(device_t dev)
ifp->if_hdrlen = sizeof(struct ieee80211_frame) +
sizeof(struct ether_header);
ifp->if_baudrate = 1000000; /* Is this baud or bps ;-) */
- ifp->if_output = ether_output;
ifp->if_start = ray_tx;
ifp->if_ioctl = ray_ioctl;
ifp->if_watchdog = ray_watchdog;
diff --git a/sys/dev/re/if_re.c b/sys/dev/re/if_re.c
index 19f4004..440a5be 100644
--- a/sys/dev/re/if_re.c
+++ b/sys/dev/re/if_re.c
@@ -1251,7 +1251,6 @@ re_attach(dev)
ifp->if_mtu = ETHERMTU;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
ifp->if_ioctl = re_ioctl;
- ifp->if_output = ether_output;
ifp->if_capabilities = IFCAP_VLAN_MTU;
ifp->if_start = re_start;
ifp->if_hwassist = RE_CSUM_FEATURES;
diff --git a/sys/dev/sbni/if_sbni.c b/sys/dev/sbni/if_sbni.c
index 42c6573..dc4275b 100644
--- a/sys/dev/sbni/if_sbni.c
+++ b/sys/dev/sbni/if_sbni.c
@@ -231,7 +231,6 @@ sbni_attach(struct sbni_softc *sc, int unit, struct sbni_flags flags)
if_initname(ifp, "sbni", unit);
ifp->if_init = sbni_init;
ifp->if_start = sbni_start;
- ifp->if_output = ether_output;
ifp->if_ioctl = sbni_ioctl;
ifp->if_watchdog = sbni_watchdog;
ifp->if_snd.ifq_maxlen = IFQ_MAXLEN;
diff --git a/sys/dev/sbsh/if_sbsh.c b/sys/dev/sbsh/if_sbsh.c
index 7e72212..e225ec9 100644
--- a/sys/dev/sbsh/if_sbsh.c
+++ b/sys/dev/sbsh/if_sbsh.c
@@ -272,7 +272,6 @@ sbsh_attach(device_t dev)
ifp->if_mtu = ETHERMTU;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
ifp->if_ioctl = sbsh_ioctl;
- ifp->if_output = ether_output;
ifp->if_start = sbsh_start;
ifp->if_watchdog = sbsh_watchdog;
ifp->if_init = sbsh_init;
diff --git a/sys/dev/sn/if_sn.c b/sys/dev/sn/if_sn.c
index 21a8948..ba2e413 100644
--- a/sys/dev/sn/if_sn.c
+++ b/sys/dev/sn/if_sn.c
@@ -203,7 +203,6 @@ sn_attach(device_t dev)
if_initname(ifp, device_get_name(dev), device_get_unit(dev));
ifp->if_mtu = ETHERMTU;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
- ifp->if_output = ether_output;
ifp->if_start = snstart;
ifp->if_ioctl = snioctl;
ifp->if_watchdog = snwatchdog;
diff --git a/sys/dev/snc/dp83932.c b/sys/dev/snc/dp83932.c
index 5445576..22789cd 100644
--- a/sys/dev/snc/dp83932.c
+++ b/sys/dev/snc/dp83932.c
@@ -174,7 +174,6 @@ sncconfig(sc, media, nmedia, defmedia, myea)
if_initname(ifp, device_get_name(sc->sc_dev),
device_get_unit(sc->sc_dev));
ifp->if_ioctl = sncioctl;
- ifp->if_output = ether_output;
ifp->if_start = sncstart;
ifp->if_flags =
IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
diff --git a/sys/dev/txp/if_txp.c b/sys/dev/txp/if_txp.c
index 90939a8..4e5b85d 100644
--- a/sys/dev/txp/if_txp.c
+++ b/sys/dev/txp/if_txp.c
@@ -356,7 +356,6 @@ txp_attach(dev)
ifp->if_mtu = ETHERMTU;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
ifp->if_ioctl = txp_ioctl;
- ifp->if_output = ether_output;
ifp->if_start = txp_start;
ifp->if_watchdog = txp_watchdog;
ifp->if_init = txp_init;
diff --git a/sys/dev/usb/if_aue.c b/sys/dev/usb/if_aue.c
index 15acc14..17191e2 100644
--- a/sys/dev/usb/if_aue.c
+++ b/sys/dev/usb/if_aue.c
@@ -737,7 +737,6 @@ USB_ATTACH(aue)
ifp->if_mtu = ETHERMTU;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
ifp->if_ioctl = aue_ioctl;
- ifp->if_output = ether_output;
ifp->if_start = aue_start;
ifp->if_watchdog = aue_watchdog;
ifp->if_init = aue_init;
diff --git a/sys/dev/usb/if_axe.c b/sys/dev/usb/if_axe.c
index d80cb6a..ebd3d2a 100644
--- a/sys/dev/usb/if_axe.c
+++ b/sys/dev/usb/if_axe.c
@@ -499,7 +499,6 @@ USB_ATTACH(axe)
ifp->if_mtu = ETHERMTU;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
ifp->if_ioctl = axe_ioctl;
- ifp->if_output = ether_output;
ifp->if_start = axe_start;
ifp->if_watchdog = axe_watchdog;
ifp->if_init = axe_init;
diff --git a/sys/dev/usb/if_cue.c b/sys/dev/usb/if_cue.c
index 86bef5d..1996802 100644
--- a/sys/dev/usb/if_cue.c
+++ b/sys/dev/usb/if_cue.c
@@ -516,7 +516,6 @@ USB_ATTACH(cue)
ifp->if_mtu = ETHERMTU;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
ifp->if_ioctl = cue_ioctl;
- ifp->if_output = ether_output;
ifp->if_start = cue_start;
ifp->if_watchdog = cue_watchdog;
ifp->if_init = cue_init;
diff --git a/sys/dev/usb/if_kue.c b/sys/dev/usb/if_kue.c
index cf864c3..484cc41 100644
--- a/sys/dev/usb/if_kue.c
+++ b/sys/dev/usb/if_kue.c
@@ -482,7 +482,6 @@ USB_ATTACH(kue)
ifp->if_mtu = ETHERMTU;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
ifp->if_ioctl = kue_ioctl;
- ifp->if_output = ether_output;
ifp->if_start = kue_start;
ifp->if_watchdog = kue_watchdog;
ifp->if_init = kue_init;
diff --git a/sys/dev/usb/if_rue.c b/sys/dev/usb/if_rue.c
index 775dab7..5d70e8a 100644
--- a/sys/dev/usb/if_rue.c
+++ b/sys/dev/usb/if_rue.c
@@ -688,7 +688,6 @@ USB_ATTACH(rue)
ifp->if_mtu = ETHERMTU;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
ifp->if_ioctl = rue_ioctl;
- ifp->if_output = ether_output;
ifp->if_start = rue_start;
ifp->if_watchdog = rue_watchdog;
ifp->if_init = rue_init;
diff --git a/sys/dev/usb/if_udav.c b/sys/dev/usb/if_udav.c
index cf8f475..fa33bca 100644
--- a/sys/dev/usb/if_udav.c
+++ b/sys/dev/usb/if_udav.c
@@ -408,7 +408,6 @@ USB_ATTACH(udav)
ifp->if_stop = udav_stop;
#endif
#if defined(__FreeBSD__)
- ifp->if_output = ether_output;
ifp->if_baudrate = 10000000;
ifp->if_snd.ifq_maxlen = IFQ_MAXLEN;
#endif
diff --git a/sys/dev/vx/if_vx.c b/sys/dev/vx/if_vx.c
index c36d3bf..1435343 100644
--- a/sys/dev/vx/if_vx.c
+++ b/sys/dev/vx/if_vx.c
@@ -159,7 +159,6 @@ vxattach(dev)
ifp->if_mtu = ETHERMTU;
ifp->if_snd.ifq_maxlen = IFQ_MAXLEN;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
- ifp->if_output = ether_output;
ifp->if_start = vxstart;
ifp->if_ioctl = vxioctl;
ifp->if_init = vxinit;
diff --git a/sys/dev/wl/if_wl.c b/sys/dev/wl/if_wl.c
index e954b53..977c8a6 100644
--- a/sys/dev/wl/if_wl.c
+++ b/sys/dev/wl/if_wl.c
@@ -554,7 +554,6 @@ wlattach(device_t device)
#endif /* MULTICAST */
if_initname(ifp, device_get_name(device), device_get_unit(device));
ifp->if_init = wlinit;
- ifp->if_output = ether_output;
ifp->if_start = wlstart;
ifp->if_ioctl = wlioctl;
ifp->if_timer = 0; /* paranoia */
diff --git a/sys/dev/xe/if_xe.c b/sys/dev/xe/if_xe.c
index 0d9eb92..ea8fb76 100644
--- a/sys/dev/xe/if_xe.c
+++ b/sys/dev/xe/if_xe.c
@@ -241,7 +241,6 @@ xe_attach (device_t dev)
scp->ifp->if_flags = (IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST);
scp->ifp->if_linkmib = &scp->mibdata;
scp->ifp->if_linkmiblen = sizeof scp->mibdata;
- scp->ifp->if_output = ether_output;
scp->ifp->if_start = xe_start;
scp->ifp->if_ioctl = xe_ioctl;
scp->ifp->if_watchdog = xe_watchdog;
OpenPOWER on IntegriCloud