Skip to content

Commit a660be9

Browse files
luo penghaotytso
authored andcommitted
ext4: remove redundant statement
The local variable assignment at the end of the function is meaningless. The clang_analyzer complains as follows: fs/ext4/fast_commit.c:779:2 warning: Value stored to 'dst' is never read Reported-by: Zeal Robot <[email protected]> Signed-off-by: luo penghao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
1 parent effc5b3 commit a660be9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fs/ext4/fast_commit.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,6 @@ static bool ext4_fc_add_dentry_tlv(struct super_block *sb, u32 *crc,
746746
ext4_fc_memcpy(sb, dst, &fcd, sizeof(fcd), crc);
747747
dst += sizeof(fcd);
748748
ext4_fc_memcpy(sb, dst, fc_dentry->fcd_name.name, dlen, crc);
749-
dst += dlen;
750749

751750
return true;
752751
}

0 commit comments

Comments
 (0)