Date: Wed, 24 Nov 2021 21:25:48 GMT From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 35b12b8711d0 - main - fdescfs: plug a set-but-not-unused var Message-ID: <202111242125.1AOLPmnP023072@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=35b12b8711d0d20f9aba77d7f62cffa59e625b7a commit 35b12b8711d0d20f9aba77d7f62cffa59e625b7a Author: Mateusz Guzik <mjg@FreeBSD.org> AuthorDate: 2021-11-24 21:25:24 +0000 Commit: Mateusz Guzik <mjg@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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111242125.1AOLPmnP023072>