ext2: remove redundant assignment to pointer end
authorColin Ian King <colin.i.king@gmail.com>
Fri, 17 Mar 2023 14:34:20 +0000 (14:34 +0000)
committerJan Kara <jack@suse.cz>
Tue, 21 Mar 2023 14:06:06 +0000 (15:06 +0100)
commitfae0a2b2077c30f567b6b32c2467e7dda8e1d270
tree06298a3abdb113cd9f5da0928e2344f98ca188b5
parentc87d175d0ae715a1cdd9a315253f3fb410fb0421
ext2: remove redundant assignment to pointer end

Pointer is assigned a value that is never read, the assignment is
redundant and can be removed.

Cleans up clang-scan warning:
fs/ext2/xattr.c:555:3: warning: Value stored to 'end' is never read [deadcode.DeadStores]
                end = (char *)header + sb->s_blocksize;

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Message-Id: <20230317143420.419005-1-colin.i.king@gmail.com>
fs/ext2/xattr.c