diff options
author | kevlo <kevlo@FreeBSD.org> | 2012-01-07 09:41:57 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2012-01-07 09:41:57 +0000 |
commit | 41b065b8d46fe265392cdb2ddde288e6685e6a17 (patch) | |
tree | 144bbe0cda0a389ee52d42a4e4d5d4f45b59c3cd /sys/dev/ep | |
parent | 6ccd11eb82acf6a486f18617bb71ce7a4e6a3a50 (diff) | |
download | FreeBSD-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/ep')
-rw-r--r-- | sys/dev/ep/if_ep.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/ep/if_ep.c b/sys/dev/ep/if_ep.c index 2436255..7be1f80 100644 --- a/sys/dev/ep/if_ep.c +++ b/sys/dev/ep/if_ep.c @@ -301,7 +301,6 @@ ep_attach(struct ep_softc *sc) ifp->if_softc = sc; if_initname(ifp, device_get_name(sc->dev), device_get_unit(sc->dev)); - ifp->if_mtu = ETHERMTU; ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; ifp->if_start = epstart; ifp->if_ioctl = epioctl; |