Skip to content

Commit 66cb7dd

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

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
@@ -3825,8 +3825,7 @@ static int push_leaf_right(struct btrfs_trans_handle *trans, struct btrfs_root
38253825
* item at 'max_slot' won't be touched. Use (u32)-1 to make us do all the
38263826
* items
38273827
*/
3828-
static noinline int __push_leaf_left(struct btrfs_trans_handle *trans,
3829-
struct btrfs_fs_info *fs_info,
3828+
static noinline int __push_leaf_left(struct btrfs_fs_info *fs_info,
38303829
struct btrfs_path *path, int data_size,
38313830
int empty, struct extent_buffer *left,
38323831
int free_space, u32 right_nritems,
@@ -4035,7 +4034,7 @@ static int push_leaf_left(struct btrfs_trans_handle *trans, struct btrfs_root
40354034
goto out;
40364035
}
40374036

4038-
return __push_leaf_left(trans, fs_info, path, min_data_size,
4037+
return __push_leaf_left(fs_info, path, min_data_size,
40394038
empty, left, free_space, right_nritems,
40404039
max_slot);
40414040
out:

0 commit comments

Comments
 (0)