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/sk/if_sk.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/dev/sk') diff --git a/sys/dev/sk/if_sk.c b/sys/dev/sk/if_sk.c index b217784..836c34d 100644 --- a/sys/dev/sk/if_sk.c +++ b/sys/dev/sk/if_sk.c @@ -1350,7 +1350,6 @@ sk_attach(dev) } ifp->if_softc = sc_if; if_initname(ifp, device_get_name(dev), device_get_unit(dev)); - ifp->if_mtu = ETHERMTU; ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; /* * SK_GENESIS has a bug in checksum offload - From linux. -- cgit v1.1