From 62ca5a5574d63235ad6f14c3ae38f880dc4eaa63 Mon Sep 17 00:00:00 2001 From: yongari Date: Thu, 24 Dec 2009 20:45:33 +0000 Subject: ether_ifattach sets if_mtu, remove unnecessary code. --- sys/dev/ste/if_ste.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sys') diff --git a/sys/dev/ste/if_ste.c b/sys/dev/ste/if_ste.c index fde98fd..07412a5 100644 --- a/sys/dev/ste/if_ste.c +++ b/sys/dev/ste/if_ste.c @@ -1150,7 +1150,6 @@ ste_attach(device_t dev) ifp->if_softc = sc; if_initname(ifp, device_get_name(dev), device_get_unit(dev)); - ifp->if_mtu = ETHERMTU; ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; ifp->if_ioctl = ste_ioctl; ifp->if_start = ste_start; -- cgit v1.1