btrfs: remove unused parameter from tree_move_down
authorDavid Sterba <dsterba@suse.com>
Fri, 10 Feb 2017 18:24:53 +0000 (19:24 +0100)
committerDavid Sterba <dsterba@suse.com>
Fri, 17 Feb 2017 11:03:52 +0000 (12:03 +0100)
Never needed.

Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.c

index b98e90a3eee738c8466e847581cae1796764f046..a981c2acd6fa8e90702e767ee5a1ca076ea857fe 100644 (file)
@@ -5241,7 +5241,7 @@ out:
 
 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)