aboutsummaryrefslogtreecommitdiffstats
path: root/module/os/linux/zfs/zfs_znode.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/os/linux/zfs/zfs_znode.c')
-rw-r--r--module/os/linux/zfs/zfs_znode.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/module/os/linux/zfs/zfs_znode.c b/module/os/linux/zfs/zfs_znode.c
index 73c21b6c0..a97955f40 100644
--- a/module/os/linux/zfs/zfs_znode.c
+++ b/module/os/linux/zfs/zfs_znode.c
@@ -2136,7 +2136,6 @@ zfs_obj_to_path_impl(objset_t *osp, uint64_t obj, sa_handle_t *hdl,
} else if (error != ENOENT) {
return (error);
}
- error = 0;
for (;;) {
uint64_t pobj = 0;