OSDN Git Service

btrfs: Remove unused variables
authorNikolay Borisov <nborisov@suse.com>
Wed, 19 Jul 2017 07:47:57 +0000 (10:47 +0300)
committerDavid Sterba <dsterba@suse.com>
Wed, 16 Aug 2017 14:12:03 +0000 (16:12 +0200)
commit110840bb629a974b1dafafce2d50a891496171b6
treefbbbc66b2d672f83a2372545bf5c88da1ea3bedb
parent500ceed807c4af359be7d08be2e17487ba00e14e
btrfs: Remove unused variables

clear_super - usage was removed in commit cea67ab92d3d ("btrfs: clean
the old superblocks before freeing the device") but that change forgot
to remove the actual variable.

max_key - commit 6174d3cb43aa ("Btrfs: remove unused max_key arg from
btrfs_search_forward") removed the max_key parameter but it forgot to
remove references from callers.

stripe_len - this one was added by e06cd3dd7cea ("Btrfs: add validadtion
checks for chunk loading") but even then it wasn't used.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c