Skip to content

bcachefs: clean up some redundant assignments

Colin Ian King kernel-janitors linux-bcachefs lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5bcachefs: remove redundant initialization of pointer dfs/bcachefs/btree_update_interior.c fs/bcachefs/buckets.c+2 -20 replies
2/5bcachefs: remove redundant initialization of pointer dstfs/bcachefs/disk_groups.c+1 -21 reply
3/5bcachefs: remove redundant initializations of variables start_offset and end_offsetfs/bcachefs/fs-io.c+2 -20 replies
4/5bcachefs: remove duplicated assignment to variable offset_into_extentfs/bcachefs/io.c+0 -10 replies
5/5bcachefs: remove redundant pointer qfs/bcachefs/quota.c+0 -30 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBrian Foster
SeriesR-b
1/5
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5][next] bcachefs: clean up some redundant assignments

Clean up some redundant assignments and variables based on warnings found by clang scan build static analysis.

Colin Ian King (5):
bcachefs: remove redundant initialization of pointer d
bcachefs: remove redundant initialization of pointer dst
bcachefs: remove redundant initializations of variables start_offset
and end_offset
bcachefs: remove duplicated assignment to variable offset_into_extent
bcachefs: remove redundant pointer q

 fs/bcachefs/btree_update_interior.c | 2 +-
 fs/bcachefs/buckets.c               | 2 +-
 fs/bcachefs/disk_groups.c           | 3 +--
 fs/bcachefs/fs-io.c                 | 4 ++--
 fs/bcachefs/io.c                    | 1 -
 fs/bcachefs/quota.c                 | 3 ---
 6 files changed, 5 insertions(+), 10 deletions(-)
Signature · 1 line
2.39.2