The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=a07604e6264b88222941fa61c6f989bad5490765
commit a07604e6264b88222941fa61c6f989bad5490765 Author: Zhenlei Huang <z...@freebsd.org> AuthorDate: 2025-06-16 14:35:40 +0000 Commit: Zhenlei Huang <z...@freebsd.org> CommitDate: 2025-06-16 14:35:40 +0000 bridge: Remove a redundant assignment of if_type ether_ifattach() no longer sets if_type to IFT_ETHER and keeps it as is since the change [1]. [1] fc74a9f93a5f Stop embedding struct ifnet at the top of driver softcs No functional change intended. MFC after: 1 week --- sys/net/if_bridge.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c index 82a530042413..bc421a8e156d 100644 --- a/sys/net/if_bridge.c +++ b/sys/net/if_bridge.c @@ -852,7 +852,6 @@ bridge_clone_create(struct if_clone *ifc, char *name, size_t len, ether_ifattach(ifp, sc->sc_defaddr.octet); /* Now undo some of the damage... */ ifp->if_baudrate = 0; - ifp->if_type = IFT_BRIDGE; #ifdef VIMAGE ifp->if_reassign = bridge_reassign; #endif