btrfs: Remove superfluous check form btrfs_remove_chunk
authorNikolay Borisov <nborisov@suse.com>
Fri, 26 Oct 2018 11:43:19 +0000 (14:43 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Dec 2018 13:51:36 +0000 (14:51 +0100)
commit64bc6c2a34535515f8319b2054795f0ca0b842f9
tree5a20fc391513a6cbdf50c5d67674926832503e25
parentf9085abfaeaf45971044fad2281ffd917cde4526
btrfs: Remove superfluous check form btrfs_remove_chunk

It's unnecessary to check map->stripes[i].dev for NULL given its value
is already set and dereferenced above the the check. No functional
changes.

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