summaryrefslogtreecommitdiffstats
path: root/sys/dev/stge
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/stge
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/stge')
-rw-r--r--sys/dev/stge/if_stge.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/stge/if_stge.c b/sys/dev/stge/if_stge.c
index 28e9584..7de2115 100644
--- a/sys/dev/stge/if_stge.c
+++ b/sys/dev/stge/if_stge.c
@@ -573,7 +573,6 @@ stge_attach(device_t dev)
ifp->if_ioctl = stge_ioctl;
ifp->if_start = stge_start;
ifp->if_init = stge_init;
- ifp->if_mtu = ETHERMTU;
ifp->if_snd.ifq_drv_maxlen = STGE_TX_RING_CNT - 1;
IFQ_SET_MAXLEN(&ifp->if_snd, ifp->if_snd.ifq_drv_maxlen);
IFQ_SET_READY(&ifp->if_snd);
OpenPOWER on IntegriCloud