From: David Sterba Date: Fri, 10 Feb 2017 17:49:53 +0000 (+0100) Subject: btrfs: remove unused parameter from split_item X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4961e2930f0324dedd47f09108cd4c81c0ee4010;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git btrfs: remove unused parameter from split_item Never used. Reviewed-by: Liu Bo Signed-off-by: David Sterba --- diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c index d509dafdb20c..4c5d7c40c8bf 100644 --- a/fs/btrfs/ctree.c +++ b/fs/btrfs/ctree.c @@ -4413,8 +4413,7 @@ err: 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) @@ -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; }