aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sn
diff options
context:
space:
mode:
authorMaxime Henrion <mux@FreeBSD.org>2004-05-23 16:11:53 +0000
committerMaxime Henrion <mux@FreeBSD.org>2004-05-23 16:11:53 +0000
commit866a788cc2d433216235cd8ab56b2c052b0b2aa6 (patch)
tree00728f0e85a4f341e4ca55d0b8472e3ecbfc89ea /sys/dev/sn
parentc94dd84382c404921b50d6235c0f7758991c5cad (diff)
downloadsrc-866a788cc2d433216235cd8ab56b2c052b0b2aa6.tar.gz
src-866a788cc2d433216235cd8ab56b2c052b0b2aa6.zip
We don't need to initialize if_output, ether_ifattach() does it
for us.
Notes
Notes: svn path=/head/; revision=129616
Diffstat (limited to 'sys/dev/sn')
-rw-r--r--sys/dev/sn/if_sn.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/sn/if_sn.c b/sys/dev/sn/if_sn.c
index 21a894890c93..ba2e413c3505 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;