diff options
author | David Sterba <dsterba@suse.com> | 2017-02-09 17:42:02 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-03-08 13:00:48 +0100 |
commit | 61c39c5fae215032d63628bd16b7df68dc380405 (patch) | |
tree | f0f4bfc578b1d9068bf853c8db341355e0ba2d8b /cmds-check.c | |
parent | 344613444855f2aa718c0bdfe89b7888b7ad49e9 (diff) |
btrfs-progs: check: remove unused argument from process_duplicates
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'cmds-check.c')
-rw-r--r-- | cmds-check.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cmds-check.c b/cmds-check.c index bc90334b..ff2535f1 100644 --- a/cmds-check.c +++ b/cmds-check.c @@ -8565,8 +8565,7 @@ out: return ret; } -static int process_duplicates(struct btrfs_root *root, - struct cache_tree *extent_cache, +static int process_duplicates(struct cache_tree *extent_cache, struct extent_record *rec) { struct extent_record *good, *tmp; @@ -9241,7 +9240,7 @@ static int check_extent_refs(struct btrfs_root *root, * process_duplicates() will return 0, otherwise it will return * 1 and we */ - if (process_duplicates(root, extent_cache, rec)) + if (process_duplicates(extent_cache, rec)) continue; ret = delete_duplicate_records(root, rec); if (ret < 0) |