btrfs: drop unnecessary variable in btrfs_init_new_device
authorAnand Jain <anand.jain@oracle.com>
Tue, 3 Jul 2018 05:14:51 +0000 (13:14 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 6 Aug 2018 11:12:42 +0000 (13:12 +0200)
commit694c51fb2eb6b6d7c9552af78ba646023a843366
tree2ee7acb2a8cbcb81d8383ae21aa839c63ba1c76d
parent5da54bc13801d378bf2e868beb623fc13ba40a83
btrfs: drop unnecessary variable in btrfs_init_new_device

There is only usage of the declared devices variable, instead use its
value directly.

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