diff options
author | David Sterba <dsterba@suse.com> | 2019-03-20 15:02:46 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-04-29 19:02:50 +0200 |
commit | c7da9597fe8cadc846fa72f4ddf478bb435a913f (patch) | |
tree | 15a09d1a06713ab9a4f4dc641c0d60f3ba733263 /fs/btrfs/ctree.c | |
parent | c71dd88007bdc8ba62e99439d93050b0778f101a (diff) | |
download | linux-c7da9597fe8cadc846fa72f4ddf478bb435a913f.tar.gz linux-c7da9597fe8cadc846fa72f4ddf478bb435a913f.tar.bz2 linux-c7da9597fe8cadc846fa72f4ddf478bb435a913f.zip |
btrfs: remove unused parameter fs_info from tree_move_down
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.c')
-rw-r--r-- | fs/btrfs/ctree.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c index eacd0b80e272..e8a24fcb9182 100644 --- a/fs/btrfs/ctree.c +++ b/fs/btrfs/ctree.c @@ -5224,9 +5224,7 @@ out: 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) |