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;
vnode_t *vp;
sa_handle_t *hdl;
struct thread *td;
int locked;
int err;
td = curthread;
getnewvnode_reserve_();
again:
*zpp = NULL;
@ -956,7 +954,7 @@ again:
hdl = dmu_buf_get_user(db);
if (hdl != NULL) {
zp = sa_get_userdata(hdl);
zp = sa_get_userdata(hdl);
/*
* Since "SA" does immediate eviction we