From 41b065b8d46fe265392cdb2ddde288e6685e6a17 Mon Sep 17 00:00:00 2001 From: kevlo Date: Sat, 7 Jan 2012 09:41:57 +0000 Subject: ether_ifattach() sets if_mtu to ETHERMTU, don't bother set it again Reviewed by: yongari --- sys/dev/ep/if_ep.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/dev/ep') 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; -- cgit v1.1