summaryrefslogtreecommitdiff
path: root/fs/bcachefs/recovery.h
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2023-09-12 13:37:42 +0100
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:10:13 -0400
commitc04cbc0dfd261bb8310cde82996e0360e4c38d39 (patch)
treeabf98df4a70a87f994c57c8cf0228843531b0c06 /fs/bcachefs/recovery.h
parent519d6c884509b639c8102f4456ca91e354ae1205 (diff)
bcachefs: remove redundant initializations of variables start_offset and end_offset
The variables start_offset and end_offset are being initialized with values that are never read, they being re-assigned later on. The initializations are redundant and can be removed. Cleans up clang-scan build warnings: fs/bcachefs/fs-io.c:243:11: warning: Value stored to 'start_offset' during its initialization is never read [deadcode.DeadStores] fs/bcachefs/fs-io.c:244:11: warning: Value stored to 'end_offset' during its initialization 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/recovery.h')
0 files changed, 0 insertions, 0 deletions