]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Remove extraneous chunk_objectid variable
authorNikolay Borisov <nborisov@suse.com>
Thu, 27 Jul 2017 11:37:29 +0000 (14:37 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 21 Aug 2017 15:47:42 +0000 (17:47 +0200)
commit249c5beab1cfb8bf13a86e566976e432186997d2
tree603d9a3fbd49228770fa0d607e5d73bdab29bd28
parent4ab0ae863dd00b668c5b72baae705f09d67a350e
btrfs: Remove extraneous chunk_objectid variable

BTRFS_FIRST_CHUNK_TREE_OBJECTIS id the only objectid being used in the
chunk_tree. So remove a variable which is always set to that value and collapse
its usage in callees which are passed this variable. No functional changes

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