Skip to content

Commit

Permalink
FreeBSD: remove unused variable
Browse files Browse the repository at this point in the history
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Issue openzfs#12899
  • Loading branch information
nabijaczleweli authored and nicman23 committed Aug 22, 2022
1 parent 4ba2dcb commit 687ab9a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions module/os/freebsd/zfs/zfs_znode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -956,7 +954,7 @@ zfs_zget(zfsvfs_t *zfsvfs, uint64_t obj_num, znode_t **zpp)

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
Expand Down

0 comments on commit 687ab9a

Please sign in to comment.