Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jan 2021 09:22:05 GMT
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 84ab77ad27c8 - main - cache: drop-write only var from cache_fplookup_preparse
Message-ID:  <202101190922.10J9M5rS022945@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mjg:

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

commit 84ab77ad27c8282afaf09ee072da41f7ef009383
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2021-01-19 09:13:30 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2021-01-19 09:13:30 +0000

    cache: drop-write only var from cache_fplookup_preparse
---
 sys/kern/vfs_cache.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c
index 420a54baf3f2..fea32f90682c 100644
--- a/sys/kern/vfs_cache.c
+++ b/sys/kern/vfs_cache.c
@@ -4963,10 +4963,8 @@ cache_fpl_pathlen_sub(struct cache_fpl *fpl, size_t n)
 static int
 cache_fplookup_preparse(struct cache_fpl *fpl)
 {
-	struct nameidata *ndp;
 	struct componentname *cnp;
 
-	ndp = fpl->ndp;
 	cnp = fpl->cnp;
 
 	if (__predict_false(cnp->cn_nameptr[0] == '\0')) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101190922.10J9M5rS022945>