summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2009-12-24 20:45:33 +0000
committeryongari <yongari@FreeBSD.org>2009-12-24 20:45:33 +0000
commit62ca5a5574d63235ad6f14c3ae38f880dc4eaa63 (patch)
treee1bc4836b34460dc7ac72abd3f1edffd7e81d42e /sys
parentad72b5b0b6eb26a45d215f9551707047d00cce9d (diff)
downloadFreeBSD-src-62ca5a5574d63235ad6f14c3ae38f880dc4eaa63.zip
FreeBSD-src-62ca5a5574d63235ad6f14c3ae38f880dc4eaa63.tar.gz
ether_ifattach sets if_mtu, remove unnecessary code.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ste/if_ste.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/ste/if_ste.c b/sys/dev/ste/if_ste.c
index fde98fd..07412a5 100644
--- a/sys/dev/ste/if_ste.c
+++ b/sys/dev/ste/if_ste.c
@@ -1150,7 +1150,6 @@ ste_attach(device_t dev)
ifp->if_softc = sc;
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_ioctl = ste_ioctl;
ifp->if_start = ste_start;
OpenPOWER on IntegriCloud