cache: drop write-only tvp_seqc vars

This commit is contained in:
Mateusz Guzik 2020-09-08 16:06:46 +00:00
parent 2bcfa5ba6f
commit da62ed4f1a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=365463

View File

@ -3714,14 +3714,13 @@ cache_fplookup_final_withparent(struct cache_fpl *fpl)
struct componentname *cnp;
enum vgetstate dvs, tvs;
struct vnode *dvp, *tvp;
seqc_t dvp_seqc, tvp_seqc;
seqc_t dvp_seqc;
int error;
cnp = fpl->cnp;
dvp = fpl->dvp;
dvp_seqc = fpl->dvp_seqc;
tvp = fpl->tvp;
tvp_seqc = fpl->tvp_seqc;
MPASS((cnp->cn_flags & (LOCKPARENT|WANTPARENT)) != 0);
@ -3780,13 +3779,12 @@ cache_fplookup_final(struct cache_fpl *fpl)
struct componentname *cnp;
enum vgetstate tvs;
struct vnode *dvp, *tvp;
seqc_t dvp_seqc, tvp_seqc;
seqc_t dvp_seqc;
cnp = fpl->cnp;
dvp = fpl->dvp;
dvp_seqc = fpl->dvp_seqc;
tvp = fpl->tvp;
tvp_seqc = fpl->tvp_seqc;
VNPASS(cache_fplookup_vnode_supported(dvp), dvp);