summaryrefslogtreecommitdiffstats
path: root/sys/dev/bm
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2012-01-07 09:41:57 +0000
committerkevlo <kevlo@FreeBSD.org>2012-01-07 09:41:57 +0000
commit41b065b8d46fe265392cdb2ddde288e6685e6a17 (patch)
tree144bbe0cda0a389ee52d42a4e4d5d4f45b59c3cd /sys/dev/bm
parent6ccd11eb82acf6a486f18617bb71ce7a4e6a3a50 (diff)
downloadFreeBSD-src-41b065b8d46fe265392cdb2ddde288e6685e6a17.zip
FreeBSD-src-41b065b8d46fe265392cdb2ddde288e6685e6a17.tar.gz
ether_ifattach() sets if_mtu to ETHERMTU, don't bother set it again
Reviewed by: yongari
Diffstat (limited to 'sys/dev/bm')
-rw-r--r--sys/dev/bm/if_bm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/bm/if_bm.c b/sys/dev/bm/if_bm.c
index 872da6d..01706df 100644
--- a/sys/dev/bm/if_bm.c
+++ b/sys/dev/bm/if_bm.c
@@ -468,7 +468,6 @@ bm_attach(device_t dev)
if_initname(ifp, device_get_name(sc->sc_dev),
device_get_unit(sc->sc_dev));
- ifp->if_mtu = ETHERMTU;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
ifp->if_start = bm_start;
ifp->if_ioctl = bm_ioctl;
OpenPOWER on IntegriCloud