From 4961e2930f0324dedd47f09108cd4c81c0ee4010 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Fri, 10 Feb 2017 18:49:53 +0100 Subject: [PATCH] btrfs: remove unused parameter from split_item Never used. Reviewed-by: Liu Bo Signed-off-by: David Sterba --- fs/btrfs/ctree.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; } -- 2.30.2