Skip to content

Commit 15b3451

Browse files
committed
btrfs: remove unused parameter from adjust_slots_upwards
Never used. Reviewed-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
1 parent 0e8d931 commit 15b3451

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

fs/btrfs/qgroup.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1589,8 +1589,7 @@ int btrfs_qgroup_trace_leaf_items(struct btrfs_trans_handle *trans,
15891589
* If we increment the root nodes slot counter past the number of
15901590
* elements, 1 is returned to signal completion of the search.
15911591
*/
1592-
static int adjust_slots_upwards(struct btrfs_root *root,
1593-
struct btrfs_path *path, int root_level)
1592+
static int adjust_slots_upwards(struct btrfs_path *path, int root_level)
15941593
{
15951594
int level = 0;
15961595
int nr, slot;
@@ -1731,7 +1730,7 @@ int btrfs_qgroup_trace_subtree(struct btrfs_trans_handle *trans,
17311730
goto out;
17321731

17331732
/* Nonzero return here means we completed our search */
1734-
ret = adjust_slots_upwards(root, path, root_level);
1733+
ret = adjust_slots_upwards(path, root_level);
17351734
if (ret)
17361735
break;
17371736

0 commit comments

Comments
 (0)