From 3b6d0d46b4e0161de4f2e9aecc7dc601c149d343 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Thu, 9 Feb 2017 17:42:02 +0100 Subject: [PATCH] btrfs-progs: remove unused argument from free_chunk_item Signed-off-by: David Sterba --- extent-tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extent-tree.c b/extent-tree.c index a647d4a6..def23e30 100644 --- a/extent-tree.c +++ b/extent-tree.c @@ -3639,7 +3639,7 @@ out: static int free_chunk_item(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, - u64 bytenr, u64 len) + u64 bytenr) { struct btrfs_path *path; struct btrfs_key key; @@ -3816,7 +3816,7 @@ int btrfs_free_block_group(struct btrfs_trans_handle *trans, btrfs_unpin_extent(fs_info, bytenr, len); goto out; } - ret = free_chunk_item(trans, fs_info, bytenr, len); + ret = free_chunk_item(trans, fs_info, bytenr); if (ret < 0) { fprintf(stderr, "failed to free chunk for [%llu,%llu)\n",