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

(cherry picked from commit 0693c3f7cb3d9e5389863a0c131ddef799c77091)

Details

Provenance
zleiAuthored on May 20 2025, 3:45 PM
Reviewer
glebius
Differential Revision
D49356: ifnet: Integrate if_unroute() into if_down()
Parents
rGc20e7eb53d47: ifnet: Fix a typo in a source code comment
Branches
Unknown
Tags
Unknown