[PATCH 00/10] Unused parameter cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, 

Here is a series that I've been sitting on for a while. It removes unused 
parameter in various functions, no functional changes. Patch 09/10 reworks
some error handling to eliminate an if branch in __btrfs_alloc_chunk, but it's
still a minor refactoring. 

Nikolay Borisov (10):
  btrfs: Remove chunk_objectid parameter of btrfs_alloc_dev_extent
  btrfs: remove superfluous chunk_tree argument from
    btrfs_alloc_dev_extent
  btrfs: Remove unused variable
  btrfs: Remove unused parameters from various functions
  btrfs: Remove unused arguments from btrfs_changed_cb_t
  btrfs: Remove unused parameter from check_direct_IO
  btrfs: Remove unused parameter from extent_clear_unlock_delalloc
  btrfs: remove unused parameter in cow_file_range
  btrfs: Rework error handling of add_extent_mapping in
    __btrfs_alloc_chunk
  btrfs: Remove redundant argument of __link_block_group

 fs/btrfs/ctree.c       | 15 +++++----------
 fs/btrfs/ctree.h       |  4 +---
 fs/btrfs/extent-tree.c |  8 ++++----
 fs/btrfs/extent_io.c   |  3 +--
 fs/btrfs/extent_io.h   |  2 +-
 fs/btrfs/inode.c       | 47 ++++++++++++++++++-----------------------------
 fs/btrfs/send.c        | 33 ++++++++++++++-------------------
 fs/btrfs/tree-log.c    |  4 +---
 fs/btrfs/volumes.c     | 24 +++++++++++-------------
 9 files changed, 56 insertions(+), 84 deletions(-)

-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux