diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-04-08 00:01:28 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-04-08 00:01:28 +0000 |
commit | 771e4a86131a9173b53849a42ec094c40d931797 (patch) | |
tree | 06b8d69f5867329c5ed5fff77e3081bc30c018c0 /sys/fs | |
parent | 9fe2867ce4cbe80a82aa848aefeb1be9d42ebfa4 (diff) | |
download | src-771e4a86131a9173b53849a42ec094c40d931797.tar.gz src-771e4a86131a9173b53849a42ec094c40d931797.zip |
smbfs: Remove unused variable.
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/smbfs/smbfs_node.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/fs/smbfs/smbfs_node.c b/sys/fs/smbfs/smbfs_node.c index f7ba9ac1c1a4..1e9953f5a92a 100644 --- a/sys/fs/smbfs/smbfs_node.c +++ b/sys/fs/smbfs/smbfs_node.c @@ -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; |