From 84ab77ad27c8282afaf09ee072da41f7ef009383 Mon Sep 17 00:00:00 2001 From: Mateusz Guzik Date: Tue, 19 Jan 2021 10:13:30 +0100 Subject: [PATCH] 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')) {