Skip to content

Commit

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

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 7c302b4 commit 4961e29
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions fs/btrfs/ctree.c
Original file line number Diff line number Diff line change
Expand Up @@ -4413,8 +4413,7 @@ static noinline int setup_leaf_for_split(struct btrfs_trans_handle *trans,
return ret;
}

static noinline int split_item(struct btrfs_trans_handle *trans,
struct btrfs_fs_info *fs_info,
static noinline int split_item(struct btrfs_fs_info *fs_info,
struct btrfs_path *path,
const struct btrfs_key *new_key,
unsigned long split_offset)
Expand Down Expand Up @@ -4511,7 +4510,7 @@ int btrfs_split_item(struct btrfs_trans_handle *trans,
if (ret)
return ret;

ret = split_item(trans, root->fs_info, path, new_key, split_offset);
ret = split_item(root->fs_info, path, new_key, split_offset);
return ret;
}

Expand Down

0 comments on commit 4961e29

Please sign in to comment.