7587f6d4840f8: /usr/src/sys/kern/vfs_cache.c:5276:24: error: variable 'cnp' set but not used

From: Ian FREISLICH <ianfreislich_at_gmail.com>
Date: Fri, 23 May 2025 15:09:00 UTC
Build kernel is broken by 7587f6d4840f8

Fix:

diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c
index f2368877ec93..b4b50b4473d7 100644
--- a/sys/kern/vfs_cache.c
+++ b/sys/kern/vfs_cache.c
@@ -5273,13 +5273,11 @@ static int __noinline
  cache_fplookup_dotdot(struct cache_fpl *fpl)
  {
         struct nameidata *ndp;
-       struct componentname *cnp;
         struct namecache *ncp;
         struct vnode *dvp;
         u_char nc_flag;

         ndp = fpl->ndp;
-       cnp = fpl->cnp;
         dvp = fpl->dvp;

         MPASS(cache_fpl_isdotdot(cnp));