btrfs: Remove never-reached WARN_ON
authorNikolay Borisov <nborisov@suse.com>
Thu, 17 Aug 2017 07:52:28 +0000 (10:52 +0300)
committerDavid Sterba <dsterba@suse.com>
Fri, 18 Aug 2017 14:36:29 +0000 (16:36 +0200)
commit92ac58ec99db0a9ad7337ce85f0ad98a90b88805
tree8c27882fc288ff47665de7f4c09714b7892794b2
parentdc2f29212a2648164b054016dc5b948bf0fc92d5
btrfs: Remove never-reached WARN_ON

We have a WARN_ON(!var) inside an if branch which is executed (among
others) only when var is true.

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/extent-tree.c