Skip to content

Remove some unused struct members

David Sterba linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5btrfs: scrub: remove unused scrub_ctx::sectors_per_biofs/btrfs/scrub.c+0 -10 replies
2/5btrfs: remove unused btrfs_ordered_extent::outstanding_isizefs/btrfs/ordered-data.h+0 -70 replies
3/5btrfs: raid56: remove unused btrfs_plug_cb::workfs/btrfs/raid56.c+0 -10 replies
4/5btrfs: remove unused definition of tree_entry in extent-io-tree.cfs/btrfs/extent-io-tree.c+0 -60 replies
5/5btrfs: remove unused btrfs_root::typefs/btrfs/ctree.h+0 -20 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.

PatchQu WenruoAnand JainJohannes Thumshirn
SeriesR-b R-b R-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. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/5] Remove some unused struct members

Jiri Slaby wrote a tool to find unused struct members [1]. There are some interesting fossils. Comparing that to my hacky coccinelle scripts, it did a much better job.

[1] https://github.com/jirislaby/clang-struct

David Sterba (5):
btrfs: scrub: remove unused scrub_ctx::sectors_per_bio
btrfs: remove unused btrfs_ordered_extent::outstanding_isize
btrfs: raid56: remove unused btrfs_plug_cb::work
btrfs: remove unused definition of tree_entry in extent-io-tree.c
btrfs: remove unused btrfs_root::type

 fs/btrfs/ctree.h          | 2 --
 fs/btrfs/extent-io-tree.c | 6 ------
 fs/btrfs/ordered-data.h   | 7 -------
 fs/btrfs/raid56.c         | 1 -
 fs/btrfs/scrub.c          | 1 -
 5 files changed, 17 deletions(-)
Signature · 1 line
2.42.1