mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-20 04:19:41 +00:00
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 <s.hauer@pengutronix.de> Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:
parent
e3d73dead4
commit
a65d10f3ce
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user