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:
parent
f788aaeb0e
commit
1add1a5b3c
|
@ -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;
|
||||||
|
@ -956,7 +954,7 @@ again:
|
||||||
|
|
||||||
hdl = dmu_buf_get_user(db);
|
hdl = dmu_buf_get_user(db);
|
||||||
if (hdl != NULL) {
|
if (hdl != NULL) {
|
||||||
zp = sa_get_userdata(hdl);
|
zp = sa_get_userdata(hdl);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Since "SA" does immediate eviction we
|
* Since "SA" does immediate eviction we
|
||||||
|
|
Loading…
Reference in New Issue