git: 85641d316a87 - stable/14 - nfsd: Delete an unused VNET global variable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 22 Jun 2024 01:26:06 UTC
The branch stable/14 has been updated by rmacklem:
URL: https://cgit.FreeBSD.org/src/commit/?id=85641d316a8764eced62ea9c4b5cbcdc6f9e08bd
commit 85641d316a8764eced62ea9c4b5cbcdc6f9e08bd
Author: Rick Macklem <rmacklem@FreeBSD.org>
AuthorDate: 2024-06-08 23:40:52 +0000
Commit: Rick Macklem <rmacklem@FreeBSD.org>
CommitDate: 2024-06-22 01:24:36 +0000
nfsd: Delete an unused VNET global variable
During code inspection, I noticed that
NFSD_VNET_DEFINE(nfsrv_dontlisthead)
is unused, so delete it.
(cherry picked from commit 13a51233e4c7d6cff04043c38845b1ec1af38680)
---
sys/fs/nfsserver/nfs_nfsdsubs.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/sys/fs/nfsserver/nfs_nfsdsubs.c b/sys/fs/nfsserver/nfs_nfsdsubs.c
index 0d7e4c73fe69..d80826993f23 100644
--- a/sys/fs/nfsserver/nfs_nfsdsubs.c
+++ b/sys/fs/nfsserver/nfs_nfsdsubs.c
@@ -57,9 +57,6 @@ NFSD_VNET_DECLARE(int, nfs_rootfhset);
NFSD_VNET_DECLARE(uid_t, nfsrv_defaultuid);
NFSD_VNET_DECLARE(gid_t, nfsrv_defaultgid);
-NFSD_VNET_DEFINE(struct nfsdontlisthead, nfsrv_dontlisthead);
-
-
char nfs_v2pubfh[NFSX_V2FH];
struct nfsdontlisthead nfsrv_dontlisthead;
struct nfslayouthead nfsrv_recalllisthead;