The branch main has been updated by mjg:

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

commit 84ab77ad27c8282afaf09ee072da41f7ef009383
Author:     Mateusz Guzik <[email protected]>
AuthorDate: 2021-01-19 09:13:30 +0000
Commit:     Mateusz Guzik <[email protected]>
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')) {
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "[email protected]"

Reply via email to