Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/5] Remove some unused struct members
@ 2023-11-21  1:50 David Sterba
  2023-11-21  1:50 ` [PATCH 1/5] btrfs: scrub: remove unused scrub_ctx::sectors_per_bio David Sterba
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: David Sterba @ 2023-11-21  1:50 UTC (permalink / raw)
  To: linux-btrfs; +Cc: David Sterba, jirislaby

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(-)

-- 
2.42.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-11-21 13:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-21  1:50 [PATCH 0/5] Remove some unused struct members David Sterba
2023-11-21  1:50 ` [PATCH 1/5] btrfs: scrub: remove unused scrub_ctx::sectors_per_bio David Sterba
2023-11-21  1:50 ` [PATCH 2/5] btrfs: remove unused btrfs_ordered_extent::outstanding_isize David Sterba
2023-11-21  1:50 ` [PATCH 3/5] btrfs: raid56: remove unused btrfs_plug_cb::work David Sterba
2023-11-21  1:50 ` [PATCH 4/5] btrfs: remove unused definition of tree_entry in extent-io-tree.c David Sterba
2023-11-21  1:50 ` [PATCH 5/5] btrfs: remove unused btrfs_root::type David Sterba
2023-11-21  3:50 ` [PATCH 0/5] Remove some unused struct members Qu Wenruo
2023-11-21  4:31 ` Anand Jain
2023-11-21  8:45 ` Johannes Thumshirn
2023-11-21 13:05 ` David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox