diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-03-26 09:05:32 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2019-05-07 21:58:32 +0200 |
commit | a65d10f3ce657aa4542b5de78933053f6d1a9e97 (patch) | |
tree | 7cc9851601cb74f623f15dd3b226fa3646fedc44 /fs/ubifs/debug.c | |
parent | e3d73dead4988f3eb8483b28087f3ec0ff9d1398 (diff) |
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>
Diffstat (limited to 'fs/ubifs/debug.c')
-rw-r--r-- | fs/ubifs/debug.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ubifs/debug.c b/fs/ubifs/debug.c index c49ff50fdceb..3a2613038e88 100644 --- a/fs/ubifs/debug.c +++ b/fs/ubifs/debug.c @@ -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; |