summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2020-10-21 15:23:26 +0200
committerTheodore Ts'o <tytso@mit.edu>2020-12-03 15:18:48 +0100
commitface525ecb30b3d7e35be21911a933980ab504f9 (patch)
treec2ebb71b73b60b233079eff97c24fac0a58fd512
parentext4: remove the null check of bio_vec page (diff)
downloadlinux-face525ecb30b3d7e35be21911a933980ab504f9.tar.xz
linux-face525ecb30b3d7e35be21911a933980ab504f9.zip
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: Colin Ian King <colin.king@canonical.com> Link: https://lore.kernel.org/r/20201021132326.148052-1-colin.king@canonical.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-rw-r--r--fs/ext4/extents.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
index 17d7096b3212..90ba74c14694 100644
--- a/fs/ext4/extents.c
+++ b/fs/ext4/extents.c
@@ -5988,7 +5988,6 @@ int ext4_ext_replay_set_iblocks(struct inode *inode)
kfree(path);
break;
}
- ex = path2[path2->p_depth].p_ext;
for (i = 0; i <= max(path->p_depth, path2->p_depth); i++) {
cmp1 = cmp2 = 0;
if (i <= path->p_depth)