mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-23 11:18:54 +00:00
ether_ifattach sets if_mtu, remove unnecessary code.
This commit is contained in:
parent
da57a8c835
commit
cb05ec6606
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=200966
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user