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 behlendorf committed Apr 28, 2022
1 parent d30562d commit 996ceb5
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 @@ -932,11 +932,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 @@ -962,7 +960,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 996ceb5

Please sign in to comment.