From 5bbe0c5357ab1559478babc8c2cf244cff5e98b7 Mon Sep 17 00:00:00 2001 From: Kevin Lo 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/wb/if_wb.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/dev/wb') diff --git a/sys/dev/wb/if_wb.c b/sys/dev/wb/if_wb.c index 9c5cd9512fa08..43d721c888ae8 100644 --- a/sys/dev/wb/if_wb.c +++ b/sys/dev/wb/if_wb.c @@ -660,7 +660,6 @@ wb_attach(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 = wb_ioctl; ifp->if_start = wb_start; -- cgit v1.3