btrfs-progs: check: Remove ext_ref local variable from check_fs_roots_lowmem

All real consumers of that variable have inlined the checks since they
are simple enough. So just remove it.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Su Yue <suy.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
master
Nikolay Borisov 2018-03-27 10:19:31 +03:00 committed by David Sterba
parent 03b6929079
commit 5a621e039e
1 changed files with 0 additions and 3 deletions

View File

@ -4852,13 +4852,10 @@ int check_fs_roots_lowmem(struct btrfs_fs_info *fs_info)
struct btrfs_path path;
struct btrfs_key key;
struct extent_buffer *node;
unsigned int ext_ref;
int slot;
int ret;
int err = 0;
ext_ref = btrfs_fs_incompat(fs_info, EXTENDED_IREF);
btrfs_init_path(&path);
key.objectid = BTRFS_FS_TREE_OBJECTID;
key.offset = 0;