]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8ef074c84036658523129740941d907dba70dcfa
tree760c4c9eb754e5ebb06f0937890f1fab37def519
parent93a3b9f12110d02d9e25166eb88bd537f123da1b
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