From: David Sterba Date: Thu, 9 Feb 2017 16:42:02 +0000 (+0100) Subject: btrfs-progs: check: remove unused argument from free_extent_record_cache X-Git-Tag: upstream/4.16.1~763 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e69d5a7b07344a35d9634384cc6e44b5f0b189c5;p=platform%2Fupstream%2Fbtrfs-progs.git btrfs-progs: check: remove unused argument from free_extent_record_cache Signed-off-by: David Sterba --- diff --git a/cmds-check.c b/cmds-check.c index 2726fae..99ee088 100644 --- a/cmds-check.c +++ b/cmds-check.c @@ -5341,8 +5341,7 @@ static int free_all_extent_backrefs(struct extent_record *rec) return 0; } -static void free_extent_record_cache(struct btrfs_fs_info *fs_info, - struct cache_tree *extent_cache) +static void free_extent_record_cache(struct cache_tree *extent_cache) { struct cache_extent *cache; struct extent_record *rec; @@ -9945,7 +9944,7 @@ loop: free_block_group_tree(&block_group_cache); free_device_cache_tree(&dev_cache); free_device_extent_tree(&dev_extent_cache); - free_extent_record_cache(root->fs_info, &extent_cache); + free_extent_record_cache(&extent_cache); free_root_item_list(&normal_trees); free_root_item_list(&dropping_trees); extent_io_tree_cleanup(&excluded_extents);