diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2023-09-12 13:37:43 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:13 -0400 |
commit | 2a831e4ba9b09e1b30384b65eca7c2ac33aa69b2 (patch) | |
tree | 759d51e1ccc113180edcfdd7d63477c5c0bd4b32 /fs/bcachefs/quota.c | |
parent | c04cbc0dfd261bb8310cde82996e0360e4c38d39 (diff) | |
download | lwn-2a831e4ba9b09e1b30384b65eca7c2ac33aa69b2.tar.gz lwn-2a831e4ba9b09e1b30384b65eca7c2ac33aa69b2.zip |
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>
Diffstat (limited to 'fs/bcachefs/quota.c')
0 files changed, 0 insertions, 0 deletions