git: a5e0eea4ca51 - releng/14.0 - vfs: retire kern.minvnodes

From: Mateusz Guzik <mjg_at_FreeBSD.org>
Date: Sun, 24 Sep 2023 21:46:56 UTC
The branch releng/14.0 has been updated by mjg:

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

commit a5e0eea4ca5152f965558fe310da6877f76c8b31
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2023-09-16 07:33:36 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2023-09-24 21:46:03 +0000

    vfs: retire kern.minvnodes
    
    It was marked as legacy in 2005.
    
    Approved by:    re (gjb)
    (cherry picked from commit 2a689cadf092a3319d7619c3f4aa242011c20c8e)
    (cherry picked from commit b93b1b93938154baf86adbade6496d5b183d71f3)
---
 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");