mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 15:18:19 +00:00
btrfs: remove unused parameter from tree_move_down
Never needed. Reviewed-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
3d3a126a81
commit
ab6a43e122
1 changed files with 2 additions and 2 deletions
|
@ -5241,7 +5241,7 @@ int btrfs_search_forward(struct btrfs_root *root, struct btrfs_key *min_key,
|
|||
|
||||
static int tree_move_down(struct btrfs_fs_info *fs_info,
|
||||
struct btrfs_path *path,
|
||||
int *level, int root_level)
|
||||
int *level)
|
||||
{
|
||||
struct extent_buffer *eb;
|
||||
|
||||
|
@ -5299,7 +5299,7 @@ static int tree_advance(struct btrfs_fs_info *fs_info,
|
|||
ret = tree_move_next_or_upnext(fs_info, path, level,
|
||||
root_level);
|
||||
} else {
|
||||
ret = tree_move_down(fs_info, path, level, root_level);
|
||||
ret = tree_move_down(fs_info, path, level);
|
||||
}
|
||||
if (ret >= 0) {
|
||||
if (*level == 0)
|
||||
|
|
Loading…
Reference in a new issue