Skip to content

Commit

Permalink
btrfs: remove unused parameter from tree_move_down
Browse files Browse the repository at this point in the history
Never needed.

Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
  • Loading branch information
David Sterba committed Feb 17, 2017
1 parent 3d3a126 commit ab6a43e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/btrfs/ctree.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit ab6a43e

Please sign in to comment.