Commit face525e authored by Colin Ian King's avatar Colin Ian King Committed by Theodore Ts'o

ext4: remove redundant assignment of variable ex

Variable ex is assigned a variable that is not being read, the assignment
is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20201021132326.148052-1-colin.king@canonical.comSigned-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent 46bac535
...@@ -5988,7 +5988,6 @@ int ext4_ext_replay_set_iblocks(struct inode *inode) ...@@ -5988,7 +5988,6 @@ int ext4_ext_replay_set_iblocks(struct inode *inode)
kfree(path); kfree(path);
break; break;
} }
ex = path2[path2->p_depth].p_ext;
for (i = 0; i <= max(path->p_depth, path2->p_depth); i++) { for (i = 0; i <= max(path->p_depth, path2->p_depth); i++) {
cmp1 = cmp2 = 0; cmp1 = cmp2 = 0;
if (i <= path->p_depth) if (i <= path->p_depth)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment