btrfs: cleanup __btrfs_open_devices() drop head pointer
authorAnand Jain <anand.jain@oracle.com>
Thu, 12 Apr 2018 02:29:26 +0000 (10:29 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 May 2018 16:07:21 +0000 (18:07 +0200)
__btrfs_open_devices() declares struct list_head *head, however head is
used only once, instead use btrfs_fs_devices::devices directly.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>

No differences found