The branch main has been updated by jhb:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=771e4a86131a9173b53849a42ec094c40d931797

commit 771e4a86131a9173b53849a42ec094c40d931797
Author:     John Baldwin <[email protected]>
AuthorDate: 2022-04-08 00:01:28 +0000
Commit:     John Baldwin <[email protected]>
CommitDate: 2022-04-08 00:01:28 +0000

    smbfs: Remove unused variable.
---
 sys/fs/smbfs/smbfs_node.c | 3 +--
 1 file changed, 1 insertion(+), 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;

Reply via email to