git: 13a51233e4c7 - main - nfsd: Delete an unused VNET global variable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 08 Jun 2024 23:42:06 UTC
The branch main has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=13a51233e4c7d6cff04043c38845b1ec1af38680 commit 13a51233e4c7d6cff04043c38845b1ec1af38680 Author: Rick Macklem <rmacklem@FreeBSD.org> AuthorDate: 2024-06-08 23:40:52 +0000 Commit: Rick Macklem <rmacklem@FreeBSD.org> CommitDate: 2024-06-08 23:40:52 +0000 nfsd: Delete an unused VNET global variable During code inspection, I noticed that NFSD_VNET_DEFINE(nfsrv_dontlisthead) is unused, so delete it. MFC after: 2 weeks --- 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;