Skip to content

Commit

Permalink
module: zfs: znode: freebsd: remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
nabijaczleweli committed Dec 23, 2021
1 parent 4335e6f commit f0f74f9
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 f0f74f9

Please sign in to comment.