HomeFreeBSD

ng_iface(4): Remove a redundant assignment of if_type

Description

ng_iface(4): Remove a redundant assignment of if_type

That is unnecessary since change [1], as if_alloc(IFT_PROPVIRTUAL) has
set if_type already.

[1] fc74a9f93a5f Stop embedding struct ifnet at the top of driver softcs

No functional change intended.

MFC after: 1 week

(cherry picked from commit c43d6dadf7e34a94f4d119ff6d7113ad9a9b4d38)
(cherry picked from commit 3da0853d71197610375262b8bb06cadda6c8f4dc)

Details

Provenance
zleiAuthored on Jun 13 2025, 10:07 AM
Parents
rGe59f60d3c08c: if_vlan: Fix up if_type before attaching the interface
Branches
Unknown
Tags
Unknown