Skip to content

Cleanups II, unused code removal

David Sterba linux-btrfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3btrfs: remove unused function prototypesfs/btrfs/ctree.h fs/btrfs/delayed-ref.h fs/btrfs/disk-io.h +4 more+0 -430 replies
2/3btrfs: remove all unused functionsfs/btrfs/ctree.h fs/btrfs/delayed-ref.c fs/btrfs/delayed-ref.h +16 more+1 -8170 replies
3/3btrfs: remove old unused commented out codefs/btrfs/delayed-ref.c fs/btrfs/disk-io.c fs/btrfs/extent-tree.c +2 more+1 -20710 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Cleanups II, unused code removal

Hi,

another round of cleanups, removing unused code. No functional chanes. The diffstat is quite big, please have a look if you feel that some code is unused by accident.

thanks,
david

David Sterba (3):
btrfs: remove unused function prototypes
btrfs: remove all unused functions
btrfs: remove old unused commented out code

 fs/btrfs/ctree.h            |   90 ---
 fs/btrfs/delayed-ref.c      |  114 ---
 fs/btrfs/delayed-ref.h      |    6 -
 fs/btrfs/disk-io.c          |   56 --
 fs/btrfs/disk-io.h          |   18 -
 fs/btrfs/extent-tree.c      | 1661 +------------------------------------------
 fs/btrfs/extent_io.c        |  227 ------
 fs/btrfs/extent_io.h        |   30 -
 fs/btrfs/free-space-cache.c |   15 -
 fs/btrfs/free-space-cache.h |    1 -
 fs/btrfs/inode.c            |  224 ------
 fs/btrfs/locking.c          |   25 -
 fs/btrfs/locking.h          |    2 -
 fs/btrfs/ref-cache.c        |  164 -----
 fs/btrfs/ref-cache.h        |   24 -
 fs/btrfs/relocation.c       |    2 +-
 fs/btrfs/root-tree.c        |   47 --
 fs/btrfs/sysfs.c            |   65 --
 fs/btrfs/transaction.c      |  134 ----
 fs/btrfs/transaction.h      |    3 -
 fs/btrfs/tree-log.h         |    1 -
 fs/btrfs/volumes.c          |   19 -
 fs/btrfs/volumes.h          |    5 -
 23 files changed, 2 insertions(+), 2931 deletions(-)
Signature · 1 line
1.7.5.1.169.g505a1