projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46bac53
)
ext4: remove redundant assignment of variable ex
author
Colin Ian King
<colin.king@canonical.com>
Wed, 21 Oct 2020 13:23:26 +0000
(14:23 +0100)
committer
Theodore Ts'o
<tytso@mit.edu>
Thu, 3 Dec 2020 14:18:48 +0000
(09:18 -0500)
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>
fs/ext4/extents.c
patch
|
blob
|
history
diff --git
a/fs/ext4/extents.c
b/fs/ext4/extents.c
index 17d7096b3212dc778ccbe36ec3adf0ecc15069c8..90ba74c146949a091b8d833ee27e7866927d5b6e 100644
(file)
--- 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)