aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhenlei Huang <zlei@FreeBSD.org>2024-10-07 14:19:02 +0000
committerZhenlei Huang <zlei@FreeBSD.org>2024-10-07 14:19:02 +0000
commit8161000892830ee52bc8048be91b40cdad25fea8 (patch)
treee17d7aa19d5e11d00a81f11885bd507a838947e1
parent782766a32d963587a6aac8521aedd132b68a9dab (diff)
iflib: Make iflib_stop() static
It is declared as static. Make the definition consistent with the declaration. This follows 7ff9ae90f0bd and partially reverts 09f6ff4f1a47. Reviewed by: erj MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D46185
-rw-r--r--sys/net/iflib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/iflib.c b/sys/net/iflib.c
index a2e2c3efa1ad..997da7ca5b00 100644
--- a/sys/net/iflib.c
+++ b/sys/net/iflib.c
@@ -2585,7 +2585,7 @@ iflib_media_status(if_t ifp, struct ifmediareq *ifmr)
CTX_UNLOCK(ctx);
}
-void
+static void
iflib_stop(if_ctx_t ctx)
{
iflib_txq_t txq = ctx->ifc_txqs;