mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-17 18:56:24 +00:00
bcachefs: remove duplicated assignment to variable offset_into_extent
Variable offset_into_extent is being assigned to zero and a few statements later it is being re-assigned again to the save value. The second assignment is redundant and can be removed. Cleans up clang-scan build warning: fs/bcachefs/io.c:2722:3: warning: Value stored to 'offset_into_extent' is never read [deadcode.DeadStores] Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
c04cbc0dfd
commit
2a831e4ba9
@ -897,7 +897,6 @@ retry_pick:
|
||||
pick.crc.uncompressed_size = bvec_iter_sectors(iter);
|
||||
pick.crc.offset = 0;
|
||||
pick.crc.live_size = bvec_iter_sectors(iter);
|
||||
offset_into_extent = 0;
|
||||
}
|
||||
get_bio:
|
||||
if (rbio) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user