Skip to content

Commit 1e47eef

Browse files
committed
btrfs: remove unused parameter from __push_leaf_right
Unused since long ago. Reviewed-by: Liu Bo <[email protected]> Signed-off-by: David Sterba <[email protected]>
1 parent eece6a9 commit 1e47eef

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

fs/btrfs/ctree.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3595,8 +3595,7 @@ noinline int btrfs_leaf_free_space(struct btrfs_fs_info *fs_info,
35953595
* min slot controls the lowest index we're willing to push to the
35963596
* right. We'll push up to and including min_slot, but no lower
35973597
*/
3598-
static noinline int __push_leaf_right(struct btrfs_trans_handle *trans,
3599-
struct btrfs_fs_info *fs_info,
3598+
static noinline int __push_leaf_right(struct btrfs_fs_info *fs_info,
36003599
struct btrfs_path *path,
36013600
int data_size, int empty,
36023601
struct extent_buffer *right,
@@ -3810,7 +3809,7 @@ static int push_leaf_right(struct btrfs_trans_handle *trans, struct btrfs_root
38103809
return 0;
38113810
}
38123811

3813-
return __push_leaf_right(trans, fs_info, path, min_data_size, empty,
3812+
return __push_leaf_right(fs_info, path, min_data_size, empty,
38143813
right, free_space, left_nritems, min_slot);
38153814
out_unlock:
38163815
btrfs_tree_unlock(right);

0 commit comments

Comments
 (0)