ubifs: Drop unnecessary setting of zbr->znode

in dbg_walk_index ubifs_load_znode is used to load the znode behind
a zbranch. ubifs_load_znode links the new child znode to the zbranch,
so doing it again is unnecessary.

Signed-off-by: Sascha Hauer <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
This commit is contained in:
Sascha Hauer authored and Richard Weinberger committed 2019-05-07 21:58:32 +02:00
1 parent e3d73dead4
commit a65d10f3ce
1 file changed
-1
-1
View File
@@ -1603,7 +1603,6 @@ int dbg_walk_index(struct ubifs_info *c, dbg_leaf_callback leaf_cb,
err = PTR_ERR(child);
goto out_unlock;
}
zbr->znode = child;
}
znode = child;