btrfs: remove unused parameter fs_info from tree_move_down

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2019-03-20 15:02:46 +01:00
parent c71dd88007
commit c7da9597fe
1 changed files with 2 additions and 4 deletions

View File

@ -5224,9 +5224,7 @@ int btrfs_search_forward(struct btrfs_root *root, struct btrfs_key *min_key,
return ret;
}
static int tree_move_down(struct btrfs_fs_info *fs_info,
struct btrfs_path *path,
int *level)
static int tree_move_down(struct btrfs_path *path, int *level)
{
struct extent_buffer *eb;
@ -5282,7 +5280,7 @@ static int tree_advance(struct btrfs_fs_info *fs_info,
if (*level == 0 || !allow_down) {
ret = tree_move_next_or_upnext(path, level, root_level);
} else {
ret = tree_move_down(fs_info, path, level);
ret = tree_move_down(path, level);
}
if (ret >= 0) {
if (*level == 0)