cache: drop-write only var from cache_fplookup_preparse

This commit is contained in:
Mateusz Guzik 2021-01-19 10:13:30 +01:00
parent 6d386b4c8a
commit 84ab77ad27

View File

@ -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')) {