[04/10] btrfs-progs: Drop unused ext_ref parameter from process_one_leaf
diff mbox

Message ID 1522135172-8276-5-git-send-email-nborisov@suse.com
State New
Headers show

Commit Message

Nikolay Borisov March 27, 2018, 7:19 a.m. UTC
It's no longer used in the function so just remove it

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
---
 check/mode-lowmem.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch
diff mbox

diff --git a/check/mode-lowmem.c b/check/mode-lowmem.c
index e26e9bdf3bb3..34519f30a4aa 100644
--- a/check/mode-lowmem.c
+++ b/check/mode-lowmem.c
@@ -2141,7 +2141,7 @@  static int check_inode_item(struct btrfs_root *root, struct btrfs_path *path)
  * Returns 0   No errors found
  */
 static int process_one_leaf(struct btrfs_root *root, struct btrfs_path *path,
-			    struct node_refs *nrefs, int *level, int ext_ref)
+			    struct node_refs *nrefs, int *level)
 {
 	struct extent_buffer *cur = path->nodes[0];
 	struct btrfs_key key;
@@ -4031,7 +4031,7 @@  static int walk_down_tree(struct btrfs_trans_handle *trans,
 			ret = 0;
 			if (!check_all)
 				ret = process_one_leaf(root, path, nrefs,
-						       level, ext_ref);
+						       level);
 			else
 				ret = check_leaf_items(trans, root, path,
 					       nrefs, account_file_data);