git: b93b1b939381 - stable/14 - vfs: retire kern.minvnodes

From: Mateusz Guzik <mjg_at_FreeBSD.org>
Date: Fri, 22 Sep 2023 21:51:21 UTC
The branch stable/14 has been updated by mjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=b93b1b93938154baf86adbade6496d5b183d71f3

commit b93b1b93938154baf86adbade6496d5b183d71f3
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2023-09-16 07:33:36 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2023-09-22 21:50:47 +0000

    vfs: retire kern.minvnodes
    
    It was marked as legacy in 2005.
    
    (cherry picked from commit 2a689cadf092a3319d7619c3f4aa242011c20c8e)
---
 sys/kern/vfs_subr.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 823b8005aa4d..f4cccf2b4e1f 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -385,8 +385,6 @@ SYSCTL_PROC(_vfs, OID_AUTO, wantfreevnodes,
     CTLTYPE_ULONG | CTLFLAG_MPSAFE | CTLFLAG_RW, NULL, 0, sysctl_wantfreevnodes,
     "LU", "Target for minimum number of \"free\" vnodes");
 
-SYSCTL_ULONG(_kern, OID_AUTO, minvnodes, CTLFLAG_RW,
-    &wantfreevnodes, 0, "Old name for vfs.wantfreevnodes (legacy)");
 static int vnlru_nowhere;
 SYSCTL_INT(_debug, OID_AUTO, vnlru_nowhere, CTLFLAG_RW | CTLFLAG_STATS,
     &vnlru_nowhere, 0, "Number of times the vnlru process ran without success");