HomeFreeBSD

ifnet: Integrate if_unroute() into if_down()

Description

ifnet: Integrate if_unroute() into if_down()

if_unroute() is static since 2004 and is not used anywhere except for
if_down().

This also makes it easier to grep by the pattern if_flags &= ~IFF_UP.

No functional change intended.

Reviewed by: glebius
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D49356

Details

Provenance
zleiAuthored on May 20 2025, 3:45 PM
Reviewer
glebius
Differential Revision
D49356: ifnet: Integrate if_unroute() into if_down()
Parents
rG0d2fd5b99c95: ns8250: use LSR_THRE instead of LSR_TEMT for checking tx flush
Branches
Unknown
Tags
Unknown