smbfs: Remove unused variable.

This commit is contained in:
John Baldwin 2022-04-07 17:01:28 -07:00
parent 9fe2867ce4
commit 771e4a8613

View File

@ -230,7 +230,7 @@ int
smbfs_nget(struct mount *mp, struct vnode *dvp, const char *name, int nmlen,
struct smbfattr *fap, struct vnode **vpp)
{
struct smbnode *dnp, *np;
struct smbnode *dnp;
struct vnode *vp;
int error, sep;
@ -246,7 +246,6 @@ smbfs_nget(struct mount *mp, struct vnode *dvp, const char *name, int nmlen,
if (error)
return error;
MPASS(vp != NULL);
np = VTOSMB(vp);
if (fap)
smbfs_attr_cacheenter(vp, fap);
*vpp = vp;