summaryrefslogtreecommitdiffstats
path: root/sys/dev/e1000/if_em.c
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/e1000/if_em.c
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/e1000/if_em.c')
-rw-r--r--sys/dev/e1000/if_em.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c
index f6cc363..4d0ad8f 100644
--- a/sys/dev/e1000/if_em.c
+++ b/sys/dev/e1000/if_em.c
@@ -2898,7 +2898,6 @@ em_setup_interface(device_t dev, struct adapter *adapter)
return (-1);
}
if_initname(ifp, device_get_name(dev), device_get_unit(dev));
- ifp->if_mtu = ETHERMTU;
ifp->if_init = em_init;
ifp->if_softc = adapter;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
OpenPOWER on IntegriCloud