/*
  * add all inline backrefs for bytenr to the list
  */
-static int __add_inline_refs(struct btrfs_fs_info *fs_info,
-                            struct btrfs_path *path, u64 bytenr,
+static int __add_inline_refs(struct btrfs_path *path, u64 bytenr,
                             int *info_level, struct list_head *prefs,
                             struct ref_root *ref_tree,
                             u64 *total_refs, u64 inum)
                if (key.objectid == bytenr &&
                    (key.type == BTRFS_EXTENT_ITEM_KEY ||
                     key.type == BTRFS_METADATA_ITEM_KEY)) {
-                       ret = __add_inline_refs(fs_info, path, bytenr,
+                       ret = __add_inline_refs(path, bytenr,
                                                &info_level, &prefs,
                                                ref_tree, &total_refs,
                                                inum);