The branch main has been updated by mjg:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=35b12b8711d0d20f9aba77d7f62cffa59e625b7a

commit 35b12b8711d0d20f9aba77d7f62cffa59e625b7a
Author:     Mateusz Guzik <m...@freebsd.org>
AuthorDate: 2021-11-24 21:25:24 +0000
Commit:     Mateusz Guzik <m...@freebsd.org>
CommitDate: 2021-11-24 21:25:24 +0000

    fdescfs: plug a set-but-not-unused var
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sys/fs/fdescfs/fdesc_vnops.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/fs/fdescfs/fdesc_vnops.c b/sys/fs/fdescfs/fdesc_vnops.c
index 209e3b3df4f3..d8dab3d7598c 100644
--- a/sys/fs/fdescfs/fdesc_vnops.c
+++ b/sys/fs/fdescfs/fdesc_vnops.c
@@ -159,10 +159,8 @@ fdesc_allocvp(fdntype ftype, unsigned fd_fd, int ix, 
struct mount *mp,
        struct fdhashhead *fc;
        struct fdescnode *fd, *fd2;
        struct vnode *vp, *vp2;
-       struct thread *td;
        int error;
 
-       td = curthread;
        fc = FD_NHASH(ix);
 loop:
        mtx_lock(&fdesc_hashmtx);

Reply via email to