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@xxxxxxxx> --- check/mode-lowmem.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/check/mode-lowmem.c b/check/mode-lowmem.c index eb6ca6453dc5..4f463d4f726f 100644 --- a/check/mode-lowmem.c +++ b/check/mode-lowmem.c @@ -4458,13 +4458,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; -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
