git: 84ab77ad27c8 - main - cache: drop-write only var from cache_fplookup_preparse
Mateusz Guzik
mjg at FreeBSD.org
Tue Jan 19 09:22:06 UTC 2021
The branch main has been updated by mjg:
URL: https://cgit.FreeBSD.org/src/commit/?id=84ab77ad27c8282afaf09ee072da41f7ef009383
commit 84ab77ad27c8282afaf09ee072da41f7ef009383
Author: Mateusz Guzik <mjg at FreeBSD.org>
AuthorDate: 2021-01-19 09:13:30 +0000
Commit: Mateusz Guzik <mjg at 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')) {
More information about the dev-commits-src-main
mailing list