diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-03-27 10:19:31 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-06-07 16:37:34 +0200 |
commit | 5a621e039e549f33e7b112e5a8ef1a143381fe47 (patch) | |
tree | 3f9d8060738a0d6cefa93244de8672871527e491 | |
parent | 03b6929079c79502b436bdf888edf96afccba993 (diff) |
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>
-rw-r--r-- | check/mode-lowmem.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/check/mode-lowmem.c b/check/mode-lowmem.c index 0403ee77..f99ce72b 100644 --- a/check/mode-lowmem.c +++ b/check/mode-lowmem.c @@ -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; |