btrfs: cleanup find_device() drop list_head pointer
authorAnand Jain <anand.jain@oracle.com>
Thu, 12 Apr 2018 02:29:29 +0000 (10:29 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 May 2018 16:07:22 +0000 (18:07 +0200)
commit636d2c9d63228b3fb3b6a1efece663b06acf6391
tree760c4c9eb754e5ebb06f0937890f1fab37def519
parent897fb5734a95454d47b97a9dbb78bc45024de0c1
btrfs: cleanup find_device() drop list_head pointer

find_device() declares struct list_head *head pointer and used only once,
instead just use it directly.

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