From 11b81f475f2c5fa0368ea1297daed1537e4f9816 Mon Sep 17 00:00:00 2001 From: Zhao Lei Date: Wed, 2 Sep 2015 16:57:54 +0200 Subject: [PATCH] btrfs-progs: remove unused argument from block_group_free_all_extent Signed-off-by: Zhao Lei Signed-off-by: David Sterba --- chunk-recover.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/chunk-recover.c b/chunk-recover.c index e256070a..1fb04f77 100644 --- a/chunk-recover.c +++ b/chunk-recover.c @@ -1094,8 +1094,7 @@ err: return ret; } -static int block_group_free_all_extent(struct btrfs_trans_handle *trans, - struct btrfs_root *root, +static int block_group_free_all_extent(struct btrfs_root *root, struct block_group_record *bg) { struct btrfs_block_group_cache *cache; @@ -1135,7 +1134,7 @@ static int remove_chunk_extent_item(struct btrfs_trans_handle *trans, if (ret) return ret; - ret = block_group_free_all_extent(trans, root, chunk->bg_rec); + ret = block_group_free_all_extent(root, chunk->bg_rec); if (ret) return ret; }