FreeBSD: remove unused variable

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Issue #12899
This commit is contained in:
наб 2021-12-23 21:47:43 +01:00 committed by Brian Behlendorf
parent f788aaeb0e
commit 1add1a5b3c
1 changed files with 1 additions and 3 deletions

View File

@ -926,11 +926,9 @@ zfs_zget(zfsvfs_t *zfsvfs, uint64_t obj_num, znode_t **zpp)
znode_t *zp; znode_t *zp;
vnode_t *vp; vnode_t *vp;
sa_handle_t *hdl; sa_handle_t *hdl;
struct thread *td;
int locked; int locked;
int err; int err;
td = curthread;
getnewvnode_reserve_(); getnewvnode_reserve_();
again: again:
*zpp = NULL; *zpp = NULL;