diff options
| author | Zhenlei Huang <zlei@FreeBSD.org> | 2026-02-09 17:48:07 +0000 |
|---|---|---|
| committer | Zhenlei Huang <zlei@FreeBSD.org> | 2026-02-09 17:48:07 +0000 |
| commit | 30988d0a7bd7ebd5f5825b9b7aa04ff0af788aa7 (patch) | |
| tree | cbcf6b6ca0c4b02d8c90ab4c7ca1a60c08c8e2cd | |
| parent | 1c41e411b5545a9e68f83b445f67030cb0e79010 (diff) | |
lagg: Make lagg_link_active() static
It is declared as static. Make the definition consistent with the
declaration.
It was ever fixed by commit 52e53e2de0ec, but the commit was reverted,
leaving it unfixed.
No functional change intended.
MFC after: 3 days
| -rw-r--r-- | sys/net/if_lagg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_lagg.c b/sys/net/if_lagg.c index 1e4d3d8d85ac..c30af5bfcc4e 100644 --- a/sys/net/if_lagg.c +++ b/sys/net/if_lagg.c @@ -2326,7 +2326,7 @@ lagg_port_state(struct ifnet *ifp, int state) LAGG_XUNLOCK(sc); } -struct lagg_port * +static struct lagg_port * lagg_link_active(struct lagg_softc *sc, struct lagg_port *lp) { struct lagg_port *lp_next, *rval = NULL; |
