git: 35b12b8711d0 - main - fdescfs: plug a set-but-not-unused var
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 24 Nov 2021 21:25:48 UTC
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);